Class HTMLProcessingInstruction

  • All Implemented Interfaces:
    java.lang.Cloneable, ModelNode, ScriptableDelegate, org.w3c.dom.Node, org.w3c.dom.ProcessingInstruction

    public class HTMLProcessingInstruction
    extends NodeImpl
    implements org.w3c.dom.ProcessingInstruction, java.lang.Cloneable
    HTML DOM object representing processing instruction as per HTML 4.0 specification.
    Author:
    vitek
    • Constructor Detail

      • HTMLProcessingInstruction

        public HTMLProcessingInstruction​(java.lang.String target,
                                         java.lang.String data)
    • Method Detail

      • createSimilarNode

        protected org.w3c.dom.Node createSimilarNode()
        Description copied from class: NodeImpl
        Should create a node with some cloned properties, like the node name, but not attributes or children.
        Specified by:
        createSimilarNode in class NodeImpl
      • getLocalName

        public java.lang.String getLocalName()
        Specified by:
        getLocalName in interface org.w3c.dom.Node
        Specified by:
        getLocalName in class NodeImpl
      • getNodeName

        public java.lang.String getNodeName()
        Specified by:
        getNodeName in interface org.w3c.dom.Node
        Specified by:
        getNodeName in class NodeImpl
      • getNodeType

        public short getNodeType()
        Specified by:
        getNodeType in interface org.w3c.dom.Node
        Specified by:
        getNodeType in class NodeImpl
      • getNodeValue

        public java.lang.String getNodeValue()
                                      throws org.w3c.dom.DOMException
        Specified by:
        getNodeValue in interface org.w3c.dom.Node
        Specified by:
        getNodeValue in class NodeImpl
        Throws:
        org.w3c.dom.DOMException
      • setNodeValue

        public void setNodeValue​(java.lang.String nodeValue)
                          throws org.w3c.dom.DOMException
        Specified by:
        setNodeValue in interface org.w3c.dom.Node
        Specified by:
        setNodeValue in class NodeImpl
        Throws:
        org.w3c.dom.DOMException
      • getData

        public java.lang.String getData()
        Specified by:
        getData in interface org.w3c.dom.ProcessingInstruction
      • getTarget

        public java.lang.String getTarget()
        Specified by:
        getTarget in interface org.w3c.dom.ProcessingInstruction
      • setData

        public void setData​(java.lang.String data)
                     throws org.w3c.dom.DOMException
        Specified by:
        setData in interface org.w3c.dom.ProcessingInstruction
        Throws:
        org.w3c.dom.DOMException
      • clone

        public java.lang.Object clone()
        Overrides:
        clone in class java.lang.Object
      • toString

        public java.lang.String toString()
        Overrides:
        toString in class NodeImpl