Class OMDocTypeImpl

  • All Implemented Interfaces:
    org.apache.axiom.om.impl.OMNodeEx, org.apache.axiom.om.OMDocType, org.apache.axiom.om.OMNode, org.apache.axiom.om.OMSerializable

    public class OMDocTypeImpl
    extends OMNodeImpl
    implements org.apache.axiom.om.OMDocType
    • Field Detail

      • value

        protected String value
    • Constructor Detail

      • OMDocTypeImpl

        public OMDocTypeImpl​(org.apache.axiom.om.OMContainer parentNode,
                             String contentText,
                             org.apache.axiom.om.OMFactory factory)
        Constructor OMDocTypeImpl.
        Parameters:
        parentNode -
        contentText -
      • OMDocTypeImpl

        public OMDocTypeImpl​(org.apache.axiom.om.OMContainer parentNode,
                             org.apache.axiom.om.OMFactory factory)
        Constructor OMDocTypeImpl.
        Parameters:
        parentNode -
    • Method Detail

      • getValue

        public String getValue()
        Gets the value of this DocType.
        Specified by:
        getValue in interface org.apache.axiom.om.OMDocType
        Returns:
        Returns String.
      • setValue

        public void setValue​(String text)
        Sets the value of this DocType.
        Specified by:
        setValue in interface org.apache.axiom.om.OMDocType
        Parameters:
        text -
      • discard

        public void discard()
                     throws org.apache.axiom.om.OMException
        Discards this node.
        Specified by:
        discard in interface org.apache.axiom.om.OMNode
        Throws:
        org.apache.axiom.om.OMException