Class PropertyNode

java.lang.Object
All Implemented Interfaces:
TypedIf, ValueIf, NodeConstIf

public class PropertyNode extends AbstractPropertyNode
 ELEMENT PROPERTY (QUALIFIER*, VALUE?)
 ATTLIST PROPERTY 
   %CIMName;
   %ClassOrigin;
   %Propagated;
   %CIMType;              #REQUIRED
   %EmbeddedObject;       #IMPLIED  - new
   xml:lang   NMTOKEN     #IMPLIED
 
  • Constructor Details

    • PropertyNode

      public PropertyNode()
      Ctor.
  • Method Details

    • specificInit

      protected void specificInit(org.xml.sax.Attributes pAttribs, SAXSession pSession) throws org.xml.sax.SAXException
      Specified by:
      specificInit in class AbstractPropertyNode
      Throws:
      org.xml.sax.SAXException
    • childValueNodeParsed

      public void childValueNodeParsed(Node pChild) throws org.xml.sax.SAXException
      Specified by:
      childValueNodeParsed in class AbstractPropertyNode
      Throws:
      org.xml.sax.SAXException
    • getChildValueNodeNameEnum

      protected java.lang.String getChildValueNodeNameEnum()
      Specified by:
      getChildValueNodeNameEnum in class AbstractPropertyNode
    • hasValueNode

      protected boolean hasValueNode()
      Description copied from class: AbstractPropertyNode
      hasValue
      Specified by:
      hasValueNode in class AbstractPropertyNode
      Returns:
      true if it has a value child node
    • getQualis

      protected CIMQualifier<?>[] getQualis()
      Overrides:
      getQualis in class AbstractPropertyNode
    • testCompletness

      public void testCompletness() throws org.xml.sax.SAXException
      Description copied from class: Node
      It have to be called by SAX's DefaultHandler.endElement(). It's task is to check that the Element is built up correctly. The implementer function can do some post processing here. testCompletness
      Specified by:
      testCompletness in class Node
      Throws:
      org.xml.sax.SAXException - It must be thrown when the Node is not valid.
    • getType

      public CIMDataType getType()
      Description copied from interface: TypedIf
      getType
      Returns:
      null if the type is unknown
    • getValue

      public java.lang.Object getValue()
      Description copied from interface: ValueIf
      getValue
      Returns:
      if type is unknown it returns a String