FileDocCategorySizeDatePackage
ProcessingInstructionImpl.javaAPI DocAndroid 1.5 API2040Wed May 06 22:41:06 BST 2009org.apache.harmony.xml.dom

ProcessingInstructionImpl

public class ProcessingInstructionImpl extends LeafNodeImpl implements ProcessingInstruction
Provides a straightforward implementation of the corresponding W3C DOM interface. The class is used internally only, thus only notable members that are not in the original interface are documented (the W3C docs are quite extensive). Hope that's ok.

Some of the fields may have package visibility, so other classes belonging to the DOM implementation can easily access them while maintaining the DOM tree structure.

Fields Summary
private String
target
private String
data
Constructors Summary
ProcessingInstructionImpl(DocumentImpl document, String target, String data)

        super(document);
        this.target = target;
        this.data = data;
    
Methods Summary
public java.lang.StringgetData()

        return data;
    
public java.lang.StringgetNodeName()

        return target;
    
public shortgetNodeType()

        return Node.PROCESSING_INSTRUCTION_NODE;
    
public java.lang.StringgetNodeValue()

        return data;
    
public java.lang.StringgetTarget()

        return target;
    
public voidsetData(java.lang.String data)

        this.data = data;