public class XMLTokenStream extends Object
<!DOCTYPE html>
)
as if it were the XHTML transitional doctype
(<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
).Modifier and Type | Field and Description |
---|---|
static String |
TRANSITIONAL_DOCTYPE |
Constructor and Description |
---|
XMLTokenStream(Resource resource,
Map<String,URL> publicIdToURL) |
Modifier and Type | Method and Description |
---|---|
int |
getAttributeCount() |
QName |
getAttributeName(int i) |
String |
getAttributeValue(int i) |
DTDData |
getDTDInfo() |
XMLTokenType |
getEventType() |
String |
getLocalName() |
Location |
getLocation() |
int |
getNamespaceCount() |
String |
getNamespacePrefix(int i) |
String |
getNamespaceURI() |
String |
getNamespaceURI(int i) |
String |
getText() |
boolean |
hasNext() |
XMLTokenType |
next()
Returns the type of the next token.
|
void |
parse() |
public static final String TRANSITIONAL_DOCTYPE
public XMLTokenStream(Resource resource, Map<String,URL> publicIdToURL)
public void parse() throws SAXException, IOException
SAXException
IOException
public XMLTokenType next()
public int getAttributeCount()
public QName getAttributeName(int i)
public DTDData getDTDInfo()
public XMLTokenType getEventType()
public String getLocalName()
public Location getLocation()
public int getNamespaceCount()
public String getNamespacePrefix(int i)
public String getNamespaceURI()
public String getNamespaceURI(int i)
public boolean hasNext()
public String getAttributeValue(int i)
${project.version} - Copyright © 2003-2015 The Apache Software Foundation.