|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Object | +--com.sun.msv.verifier.psvi.PSVIDump
An example that uses TypedContentHandler for parsing XML documents.
| Constructor Summary | |
PSVIDump()
|
|
| Method Summary | |
void |
characterChunk(String literal,
Datatype type)
receives notification of a string. |
void |
endAttribute(String namespaceUri,
String localName,
String qName,
AttributeExp type)
receives notification of the end of an attribute. |
void |
endAttributePart()
this method is called after the start/endAttribute method are called for all attributes. |
void |
endDocument()
receives notification of the end of a document. |
void |
endElement(String uri,
String local,
String qName,
ElementExp type)
receives notification of the end of an element. |
static void |
main(String[] args)
|
void |
startAttribute(String namespaceUri,
String localName,
String qName)
receives notification of the start of an attribute. |
void |
startDocument(ValidationContext context)
receives notification of the start of a document. |
void |
startElement(String namespaceUri,
String localName,
String qName)
receives notification of the start of an element. |
| Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public PSVIDump()
| Method Detail |
public static void main(String[] args)
throws Exception
public void startElement(String namespaceUri,
String localName,
String qName)
TypedContentHandlerstartElement in interface TypedContentHandler
public void startAttribute(String namespaceUri,
String localName,
String qName)
TypedContentHandlerstartAttribute in interface TypedContentHandler
public void endAttribute(String namespaceUri,
String localName,
String qName,
AttributeExp type)
TypedContentHandlerendAttribute in interface TypedContentHandlercom.sun.msv.verifier.psvi.TypedContentHandlertype - assigned type.public void endAttributePart()
TypedContentHandlerendAttributePart in interface TypedContentHandler
public void characterChunk(String literal,
Datatype type)
TypedContentHandlercharacterChunk in interface TypedContentHandlercom.sun.msv.verifier.psvi.TypedContentHandlerliteral - the contents.type - assigned type. The validator assigns this type for this literal.
public void endElement(String uri,
String local,
String qName,
ElementExp type)
TypedContentHandlerendElement in interface TypedContentHandlercom.sun.msv.verifier.psvi.TypedContentHandlertype - the type of this element.public void startDocument(ValidationContext context)
TypedContentHandlerstartDocument in interface TypedContentHandlercom.sun.msv.verifier.psvi.TypedContentHandlercontext - This ValidationContext object is effective through the entire document.public void endDocument()
TypedContentHandlerendDocument in interface TypedContentHandler
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||