com.sun.msv.verifier.psvi
Class TypeDetector
- ContentHandler, DTDHandler, IDContextProvider2, IVerifier, ValidationContext, VerifierHandler
public class TypeDetector
assign types to the incoming SAX2 events and reports them to
the application handler through TypedContentHandler.
This class "augment" infoset by adding type information. The application can
receive augmented infoset by implementing TypedContentHandler.
characters , endDocument , endElement , getCurrentElementType , getErrorHandler , getLastCharacterType , ignorableWhitespace , isValid , localizeMessage , onDuplicateId , setErrorHandler , setPanicMode , startDocument , startElement |
endElement , endPrefixMapping , getBaseUri , getLocator , isNotation , isUnparsedEntity , notationDecl , onID , processingInstruction , resolveNamespacePrefix , setDocumentLocator , skippedEntity , startElement , startPrefixMapping , unparsedEntityDecl |
characters
public void characters(char[] buf,
int start,
int len)
throws SAXException
- characters in interface Verifier
endElement
public void endElement(String namespaceUri,
String localName,
String qName)
throws SAXException
- endElement in interface Verifier
ignorableWhitespace
public void ignorableWhitespace(char[] buf,
int start,
int len)
throws SAXException
- ignorableWhitespace in interface Verifier
setContentHandler
public void setContentHandler(TypedContentHandler handler)
sets the TypedContentHandler which will received the type-augmented
infoset.
startElement
public void startElement(String namespaceUri,
String localName,
String qName,
Attributes atts)
throws SAXException
- startElement in interface Verifier