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 class
InputTypeDefault.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static InputTypeDefault.Builder
create()
static InputTypeDefault
empty()
boolean
equals(Object o)
Set<String>
getNames()
Set<InputTypeProperty>
getProperties(String name)
InputTypeProperty
getProperty(String name)
String
getRootValue()
int
getSize()
String
getValue(String name)
<T> T
getValue(String name, Class<T> type)
<T> T
getValue(String name, Class<T> type, T defValue)
boolean
hasAttributeValue(String name, String attr, String attrValue)
int
hashCode()
boolean
hasPropertyValue(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:
iterator
in interfaceIterable<InputTypeProperty>
-
empty
public static InputTypeDefault empty()
-
create
public static InputTypeDefault.Builder create()
-
-