public interface IMXMLInstructionData extends IMXMLUnitData
UNKNOWN| Modifier and Type | Method and Description |
|---|---|
String |
getContent()
Returns the content of the processing instruction.
|
String |
getInstructionText()
Returns the raw processing instruction, starting with the
<? |
String |
getTarget()
Returns the target of the processing instruction.
|
containsOffset, getContainingTag, getContentEnd, getContentStart, getIndex, getMXMLDialect, getNext, getNextSiblingUnit, getNextTag, getParent, getParentUnitData, getPrevious, getSource, isCloseTag, isOpenAndNotEmptyTag, isOpenTag, isTag, isTextgetAbsoluteEnd, getAbsoluteStart, getColumn, getEnd, getEndColumn, getEndLine, getLine, getSourcePath, getStartString getInstructionText()
<? and ending with the ?>.String getTarget()
The target is the identifier that follows the <?.
For example, for <?foo bar baz?> the target is "foo".
String getContent()
The content is everything that follows the whitespace after the target, up to the ?>.
For example, for <?foo bar baz?> the content is "bar baz".
Copyright © 2016 The Apache Software Foundation. All rights reserved.