Internalizer and DOMForest are responsible for
doing schema language independent part, and this object is responsible
for schema language dependent part.
| Modifier and Type | Method and Description |
|---|---|
| public boolean | Returns: true if it's OK, false if not.The owner DOMForest object. Probably useful only
to obtain context information, such as error handler. parent, Element <jaxb:bindings> element or a customization element.Checks if the specified element is a valid target node to attach a customization. |
| public XMLFilterImpl | Returns: This method returnsXMLFilterImpl because
the filter has to be usable for two directions
(wrapping a reader and wrapping a ContentHandler)Creates a new instance of XMLFilter that can be used to find references to external schemas. |
| public Element | Returns: Always return non-null valid objectThe target node designated by the customization. target)Prepares an element that actually receives customizations. |
| checkIfValidTargetNode | back to summary |
|---|---|
| public boolean checkIfValidTargetNode(DOMForest parent, Element bindings, Element target) Checks if the specified element is a valid target node to attach a customization. | |
| createExternalReferenceFinder | back to summary |
|---|---|
| public XMLFilterImpl createExternalReferenceFinder(DOMForest parent) Creates a new instance of XMLFilter that can be used to find references to external schemas.
Schemas that are included/imported need to be a part of
Once such a reference is found, the filter is expected to call the parse method of DOMForest.
| |
| refineTarget | back to summary |
|---|---|
| public Element refineTarget(Element target) Prepares an element that actually receives customizations.
For example, in XML Schema, target nodes can be any schema
element but it is always the | |