|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.jvnet.wom.impl.parser.ParserContext
public class ParserContext
Provides context information to be used by WSDLContentHandlerExs.
WOMParser,
but to hide the details from the public API, this class in
a different package.
| Field Summary | |
|---|---|
java.util.Map<WSDLDocumentImpl,WSDLDocumentImpl> |
parsedDocuments
Documents that are parsed already. |
WSDLSetImpl |
wsdlSet
WSDLSet to which a newly parsed schema is put in. |
| Constructor Summary | |
|---|---|
ParserContext(WOMParser owner,
com.sun.xml.xsom.parser.XMLParser parser)
|
|
| Method Summary | |
|---|---|
void |
addWSDLExtensionHandler(WSDLExtensionHandler extension)
|
WSDLContentHandlerEx |
createWSDLContentHandler()
|
org.xml.sax.EntityResolver |
getEntityResolver()
|
WSDLSet |
getResult()
Returns WSDLSet, null if there was any error. |
org.xml.sax.ContentHandler |
getSchemaContentHandler()
|
java.util.Set<WSDLExtensionHandler> |
getWSDLExtensionHandlers()
|
void |
parse(org.xml.sax.InputSource source)
Parses a new XML Schema document. |
void |
setSchemaContentHandler(org.xml.sax.ContentHandler schemaContentHandler)
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public final WSDLSetImpl wsdlSet
public final java.util.Map<WSDLDocumentImpl,WSDLDocumentImpl> parsedDocuments
WSDLDocumentImpls.
The actual data structure is map from WSDLDocumentImpl to itself,
so that we can access the WSDLDocumentImpl itself.
| Constructor Detail |
|---|
public ParserContext(WOMParser owner,
com.sun.xml.xsom.parser.XMLParser parser)
| Method Detail |
|---|
public org.xml.sax.EntityResolver getEntityResolver()
public void parse(org.xml.sax.InputSource source)
throws org.xml.sax.SAXException
org.xml.sax.SAXException
public WSDLSet getResult()
throws org.xml.sax.SAXException
WSDLSet, null if there was any error.
org.xml.sax.SAXExceptionpublic WSDLContentHandlerEx createWSDLContentHandler()
public org.xml.sax.ContentHandler getSchemaContentHandler()
public void setSchemaContentHandler(org.xml.sax.ContentHandler schemaContentHandler)
public void addWSDLExtensionHandler(WSDLExtensionHandler extension)
public java.util.Set<WSDLExtensionHandler> getWSDLExtensionHandlers()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||