| java.lang.Object com.sun.tools.ws.wsdl.parser.DOMForest
All known Subclasses: com.sun.tools.ws.wsdl.parser.MetadataFinder,
DOMForest | public class DOMForest (Code) | | author: Vivek Pandey |
externalReferences | final protected Set<String> externalReferences(Code) | | Contains wsdl:import(s)
|
inlinedSchemaElements | final protected List<Element> inlinedSchemaElements(Code) | | inlined schema elements inside wsdl:type section
|
locatorTable | final public LocatorTable locatorTable(Code) | | Stores location information for all the trees in this forest.
|
outerMostBindings | final public Set<Element> outerMostBindings(Code) | | Stores all the outer-most <jaxb:bindings> customizations.
|
rootDocuments | final protected Set<String> rootDocuments(Code) | | To correctly feed documents to a schema parser, we need to remember
which documents (of the forest) were given as the root
documents, and which of them are read as included/imported
documents.
Set of system ids as strings.
|
addExternalReferences | public void addExternalReferences(String ref)(Code) | | |
dump | public void dump(OutputStream out) throws IOException(Code) | | Dumps the contents of the forest to the specified stream.
This is a debug method. As such, error handling is sloppy.
|
get | public Document get(String systemId)(Code) | | Gets the DOM tree associated with the specified system ID,
or null if none is found.
|
getParserHandler | public Handler getParserHandler(String systemId, boolean root)(Code) | | Returns a
ContentHandler to feed SAX events into.
The client of this class can feed SAX events into the handler
to parse a document into this DOM forest.
|
getSystemId | public String getSystemId(Document dom)(Code) | | Gets the system ID from which the given DOM is parsed.
Poor-man's base URI.
|
isExtensionMode | boolean isExtensionMode()(Code) | | |
listSystemIDs | public String[] listSystemIDs()(Code) | | Gets all the system IDs of the documents.
|
parse | public Document parse(String systemId, boolean root) throws SAXException, IOException(Code) | | Parses an XML at the given location (
and XMLs referenced by it) into DOM trees
and stores them to this forest.
the parsed DOM document object. |
|
|