Class ContentType

    • Field Detail


        public static final java.lang.String NODE_CONTENT_TYPE
        See Also:
        Constant Field Values
    • Constructor Detail

      • ContentType

        public ContentType()
    • Method Detail

      • getKeyAttribute

        protected java.lang.String getKeyAttribute()
        Description copied from class: AbstractConfigurationElement
        This method must return the attribute that uniquely identifies this element among its siblings; if no single attribute can be used, return null and override the getKey and setKey methods.
        Specified by:
        getKeyAttribute in class AbstractConfigurationElement
      • useNodeValue

        protected boolean useNodeValue()
        Description copied from class: AbstractConfigurationElement
        Controls whether this element will use the node value as a property. For example, nodes defined as:
          <a att="1">This is the node value</a>
        can expose a property which will return the node's value (This is the node vale). When this is the case, though, the element can't have any sub elements. They're mutually exclusive.
        useNodeValue in class AbstractConfigurationElement
        false by default. Override this method if you want to associate the node value with some property.