|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.sun.tools.ws.wsdl.parser.WSDLInternalizationLogic
public class WSDLInternalizationLogic
| Constructor Summary | |
|---|---|
WSDLInternalizationLogic()
|
|
| Method Summary | |
|---|---|
boolean |
checkIfValidTargetNode(DOMForest parent,
Element bindings,
Element target)
Checks if the specified element is a valid target node to attach a customization. |
XMLFilterImpl |
createExternalReferenceFinder(DOMForest parent)
Creates a new instance of XMLFilter that can be used to find references to external schemas. |
Element |
refineSchemaTarget(Element target)
Prepares an element that actually receives customizations. |
Element |
refineWSDLTarget(Element target)
Prepares a WSDL element that actually receives customizations. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public WSDLInternalizationLogic()
| Method Detail |
|---|
public XMLFilterImpl createExternalReferenceFinder(DOMForest parent)
InternalizationLogic
Schemas that are included/imported need to be a part of
DOMForest, and this filter will be expected to
find such references.
Once such a reference is found, the filter is expected to call the parse method of DOMForest.
DOMForest will register ErrorHandler to the returned
object, so any error should be sent to that error handler.
createExternalReferenceFinder in interface InternalizationLogicXMLFilterImpl because
the filter has to be usable for two directions
(wrapping a reader and wrapping a ContentHandler)
public boolean checkIfValidTargetNode(DOMForest parent,
Element bindings,
Element target)
InternalizationLogic
checkIfValidTargetNode in interface InternalizationLogicparent - The owner DOMForest object. Probably useful only
to obtain context information, such as error handler.bindings - <jaxb:bindings> element or a customization element.
public Element refineSchemaTarget(Element target)
InternalizationLogicFor example, in XML Schema, target nodes can be any schema element but it is always the <xsd:appinfo> element that receives customization.
refineSchemaTarget in interface InternalizationLogictarget - The target node designated by the customization.
public Element refineWSDLTarget(Element target)
InternalizationLogic
refineWSDLTarget in interface InternalizationLogictarget - The target node designated by the customization.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||