anvil.parser
Class Parser
java.lang.Object
|
+--anvil.parser.Parser
- All Implemented Interfaces:
- Locator
- public class Parser
- extends java.lang.Object
- implements Locator
class Parser
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Parser
public Parser()
readCDataSection
protected void readCDataSection()
throws java.io.IOException
java.io.IOException
readComment
protected void readComment(int prefix)
throws java.io.IOException
java.io.IOException
skipSpaces
protected boolean skipSpaces()
throws java.io.IOException
java.io.IOException
readCharacters
protected void readCharacters(int ch)
throws java.io.IOException
java.io.IOException
readPI
public void readPI()
throws java.io.IOException
java.io.IOException
readTag
protected Tag readTag()
throws java.io.IOException
java.io.IOException
dispatchElements
protected void dispatchElements()
throws java.io.IOException
java.io.IOException
getLocation
public Location getLocation()
- Specified by:
getLocation in interface Locator
parse
public void parse(DocumentHandler documentHandler,
InputSource source)
throws java.io.IOException
java.io.IOException
parse
public void parse(DocumentHandler documentHandler,
java.net.URL url,
java.lang.CharSequence sequence)
throws java.io.IOException
java.io.IOException
parse
public void parse(DocumentHandler documentHandler,
java.net.URL url,
LocatingCharSequence sequence)
throws java.io.IOException
java.io.IOException
getAttributeValue
public static java.lang.String getAttributeValue(java.lang.String data,
java.lang.String attribute)