storing Locator.
By setting performIDcheck
variable, the ID/IDREF checking
can be either turned on or turned off.
- Author:
- Kohsuke KAWAGUCHI
Method Summary |
void |
endElement(String namespaceUri,
String localName,
String qName)
|
void |
endPrefixMapping(String prefix)
|
String |
getBaseUri()
|
Locator |
getLocator()
|
boolean |
isNotation(String notationName)
|
boolean |
isUnparsedEntity(String entityName)
|
void |
notationDecl(String name,
String publicId,
String systemId)
|
void |
onID(Datatype dt,
StringToken token)
this method is called when a type with ID semantics is matched. |
void |
processingInstruction(String name,
String data)
|
String |
resolveNamespacePrefix(String prefix)
|
void |
setDocumentLocator(Locator loc)
|
void |
skippedEntity(String p)
|
void |
startElement(String namespaceUri,
String localName,
String qName,
Attributes atts)
|
void |
startPrefixMapping(String prefix,
String uri)
|
void |
unparsedEntityDecl(String name,
String publicId,
String systemId,
String notationName)
|
AbstractVerifier
public AbstractVerifier()
getLocator
public final Locator getLocator()
setDocumentLocator
public void setDocumentLocator(Locator loc)
- Specified by:
setDocumentLocator
in interface ContentHandler
skippedEntity
public void skippedEntity(String p)
- Specified by:
skippedEntity
in interface ContentHandler
processingInstruction
public void processingInstruction(String name,
String data)
- Specified by:
processingInstruction
in interface ContentHandler
startPrefixMapping
public void startPrefixMapping(String prefix,
String uri)
- Specified by:
startPrefixMapping
in interface ContentHandler
endPrefixMapping
public void endPrefixMapping(String prefix)
- Specified by:
endPrefixMapping
in interface ContentHandler
startElement
public void startElement(String namespaceUri,
String localName,
String qName,
Attributes atts)
throws SAXException
- Specified by:
startElement
in interface ContentHandler
- Throws:
SAXException
endElement
public void endElement(String namespaceUri,
String localName,
String qName)
throws SAXException
- Specified by:
endElement
in interface ContentHandler
- Throws:
SAXException
notationDecl
public void notationDecl(String name,
String publicId,
String systemId)
- Specified by:
notationDecl
in interface DTDHandler
unparsedEntityDecl
public void unparsedEntityDecl(String name,
String publicId,
String systemId,
String notationName)
- Specified by:
unparsedEntityDecl
in interface DTDHandler
resolveNamespacePrefix
public String resolveNamespacePrefix(String prefix)
- Specified by:
resolveNamespacePrefix
in interface ValidationContext
isUnparsedEntity
public boolean isUnparsedEntity(String entityName)
- Specified by:
isUnparsedEntity
in interface ValidationContext
isNotation
public boolean isNotation(String notationName)
- Specified by:
isNotation
in interface ValidationContext
getBaseUri
public String getBaseUri()
- Specified by:
getBaseUri
in interface ValidationContext
onID
public void onID(Datatype dt,
StringToken token)
- Description copied from interface:
IDContextProvider2
- this method is called when a type with ID semantics is matched.
It is the callee's responsibility that stores
ID and checks doubly defined ID, if it is necessary.
- Specified by:
onID
in interface IDContextProvider2