Package com.enonic.xp.inputtype
Class InputTypeDefault
- java.lang.Object
-
- com.enonic.xp.inputtype.InputTypeDefault
-
- All Implemented Interfaces:
Iterable<InputTypeProperty>
@PublicApi public final class InputTypeDefault extends Object implements Iterable<InputTypeProperty>
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classInputTypeDefault.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static InputTypeDefault.Buildercreate()static InputTypeDefaultempty()booleanequals(Object o)Set<String>getNames()Set<InputTypeProperty>getProperties(String name)InputTypePropertygetProperty(String name)StringgetRootValue()intgetSize()StringgetValue(String name)<T> TgetValue(String name, Class<T> type)<T> TgetValue(String name, Class<T> type, T defValue)booleanhasAttributeValue(String name, String attr, String attrValue)inthashCode()booleanhasPropertyValue(String name, String value)Iterator<InputTypeProperty>iterator()-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface java.lang.Iterable
forEach, spliterator
-
-
-
-
Method Detail
-
getProperty
public InputTypeProperty getProperty(String name)
-
getProperties
public Set<InputTypeProperty> getProperties(String name)
-
getRootValue
public String getRootValue()
-
getSize
public int getSize()
-
iterator
public Iterator<InputTypeProperty> iterator()
- Specified by:
iteratorin interfaceIterable<InputTypeProperty>
-
empty
public static InputTypeDefault empty()
-
create
public static InputTypeDefault.Builder create()
-
-