Package com.composum.sling.nodes.servlet
Class SourceModel.Property
- java.lang.Object
-
- com.composum.sling.nodes.servlet.SourceModel.Property
-
- Enclosing class:
- SourceModel
public static class SourceModel.Property extends Object
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description protected Object[]cleanupArray(Object[] value)Cleanup of array values - if this is "jcr:mixinTypes" we filter outSourceModel.EXCLUDED_MIXINS.booleanequals(Object o)static StringescapeXmlAttribute(String attrValue)protected StringgetEscapedString(Object aValue)StringgetEscapedString(String indent)Properly escaped String that can be written as attribute value into an XML file.StringgetName()StringgetNs()protected intgetOrderingLevel()protected StringgetTypePrefix(Object aValue)inthashCode()booleanisBinary()booleanisMultiValue()StringtoString()
-
-
-
Method Detail
-
getNs
public String getNs()
-
isMultiValue
public boolean isMultiValue()
-
isBinary
public boolean isBinary()
-
getName
public String getName()
-
getEscapedString
public String getEscapedString(String indent)
Properly escaped String that can be written as attribute value into an XML file.
-
cleanupArray
protected Object[] cleanupArray(Object[] value)
Cleanup of array values - if this is "jcr:mixinTypes" we filter outSourceModel.EXCLUDED_MIXINS.
-
getOrderingLevel
protected int getOrderingLevel()
-
-