public abstract class AbstractConfluenceSaxHandler<T,B extends Builder<T>> extends org.xml.sax.helpers.DefaultHandler
Modifier and Type | Class and Description |
---|---|
protected static class |
AbstractConfluenceSaxHandler.NameValuePair |
Modifier and Type | Field and Description |
---|---|
static SecureXmlEntityResolver |
EMPTY_ENTITY_RESOLVER |
Modifier | Constructor and Description |
---|---|
protected |
AbstractConfluenceSaxHandler(B builder) |
Modifier and Type | Method and Description |
---|---|
protected abstract void |
addMember(AbstractConfluenceSaxHandler.NameValuePair member,
B builder)
Add the given member to the given builder.
|
void |
characters(char[] ch,
int start,
int length) |
void |
endElement(String uri,
String localName,
String qName) |
List<T> |
getEntities() |
String |
getFaultString() |
boolean |
hasFault() |
InputSource |
resolveEntity(String publicId,
String systemId) |
void |
startElement(String uri,
String localName,
String qName,
Attributes attributes) |
endDocument, endPrefixMapping, error, fatalError, ignorableWhitespace, notationDecl, processingInstruction, setDocumentLocator, skippedEntity, startDocument, startPrefixMapping, unparsedEntityDecl, warning
public static final SecureXmlEntityResolver EMPTY_ENTITY_RESOLVER
protected AbstractConfluenceSaxHandler(B builder)
public boolean hasFault()
public String getFaultString()
protected abstract void addMember(AbstractConfluenceSaxHandler.NameValuePair member, B builder)
member
- the member to addbuilder
- the builder to add the member topublic void startElement(String uri, String localName, String qName, Attributes attributes) throws SAXException
startElement
in interface ContentHandler
startElement
in class org.xml.sax.helpers.DefaultHandler
SAXException
public void characters(char[] ch, int start, int length) throws SAXException
characters
in interface ContentHandler
characters
in class org.xml.sax.helpers.DefaultHandler
SAXException
public void endElement(String uri, String localName, String qName) throws SAXException
endElement
in interface ContentHandler
endElement
in class org.xml.sax.helpers.DefaultHandler
SAXException
public InputSource resolveEntity(String publicId, String systemId)
resolveEntity
in interface EntityResolver
resolveEntity
in class org.xml.sax.helpers.DefaultHandler
Copyright © 2002-2019 Atlassian. All Rights Reserved.