The transform(DOMForest, boolean, boolean) method is the entry point.
| Modifier and Type | Field and Description |
|---|---|
| private boolean | enableSCD
If true, the SCD-based target selection is supported. |
| private ErrorReceiver | errorHandler
All errors found during the transformation is sent to this object. |
| private static final String | EXTENSION_PREFIXES
Attribute name. |
| private final DOMForest | forest
DOMForest object currently being processed. |
| private static final String | |
| private final XPath |
| Access | Constructor and Description |
|---|---|
| private |
| Modifier and Type | Method and Description |
|---|---|
| private String | allocatePrefix(Element e, String nsUri)
Declares a new prefix on the given element and associates it with the specified namespace URI. |
| private void | buildTargetNodeMap(Element bindings, Node
The current target node. This always exists, even if
the user starts specifying targets via SCD (in that case
this inherited target is just not going to be used.) inheritedTarget, SCDBasedBindingSet.If the ancestor inheritedSCD,<bindings> node specifies @scd to
specify the target via SCD, then this parameter represents that context.Determines the target node of the "bindings" element by using the inherited target node, then put the result into the "result" map and the "scd" map. |
| private void | copyLocators(Element src, Element dst)
Copies location information attached to the "src" node to the "dst" node. |
| private void | declareExtensionNamespace(Element target, String nsUri)
Adds the specified namespace URI to the jaxb:extensionBindingPrefixes attribute of the target document. |
| private void | declExtensionNamespace(Element decl, Element target)
Recursively visits sub-elements and declare all used namespaces. |
| private void | |
| private void | |
| private void | |
| private void | |
| pack-priv static SCDBasedBindingSet | Returns: if the SCD support is enabled, the return bindings need to be applied after schema components are parsed. If disabled, the returned binding set will be empty. SCDs are only for XML Schema, and doesn't make any sense for other schema languages.Internalize all |
| private SCDBasedBindingSet |
| enableSCD | back to summary |
|---|---|
| private boolean enableSCD If true, the SCD-based target selection is supported. | |
| errorHandler | back to summary |
|---|---|
| private ErrorReceiver errorHandler All errors found during the transformation is sent to this object. | |
| EXTENSION_PREFIXES | back to summary |
|---|---|
| private static final String EXTENSION_PREFIXES Attribute name. | |
| forest | back to summary |
|---|---|
| private final DOMForest forest DOMForest object currently being processed. | |
| WSDL_NS | back to summary |
|---|---|
| private static final String WSDL_NS | |
| xpath | back to summary |
|---|---|
| private final XPath xpath | |
| Internalizer | back to summary |
|---|---|
| private Internalizer(DOMForest forest, boolean enableSCD, boolean disableSecureProcessing) | |
| allocatePrefix | back to summary |
|---|---|
| private String allocatePrefix(Element e, String nsUri) Declares a new prefix on the given element and associates it with the specified namespace URI. Note that this method doesn't use the default namespace even if it can. | |
| buildTargetNodeMap | back to summary |
|---|---|
| private void buildTargetNodeMap(Element bindings, Node inheritedTarget, SCDBasedBindingSet. Determines the target node of the "bindings" element by using the inherited target node, then put the result into the "result" map and the "scd" map.
| |
| copyLocators | back to summary |
|---|---|
| private void copyLocators(Element src, Element dst) Copies location information attached to the "src" node to the "dst" node. | |
| declareExtensionNamespace | back to summary |
|---|---|
| private void declareExtensionNamespace(Element target, String nsUri) Adds the specified namespace URI to the jaxb:extensionBindingPrefixes attribute of the target document. | |
| declExtensionNamespace | back to summary |
|---|---|
| private void declExtensionNamespace(Element decl, Element target) Recursively visits sub-elements and declare all used namespaces. Todo the fact that we recognize all namespaces in the extension is a bad design. | |
| move | back to summary |
|---|---|
| private void move(Element bindings, Map<Element, List<Node>> targetNodes) Moves JAXB customizations under their respective target nodes. | |
| moveUnder | back to summary |
|---|---|
| private void moveUnder(Element decl, Element target) Moves the "decl" node under the "target" node. | |
| reportError | back to summary |
|---|---|
| private void reportError(Element errorSource, String formattedMsg) | |
| reportError | back to summary |
|---|---|
| private void reportError(Element errorSource, String formattedMsg, Exception nestedException) | |
| transform | back to summary |
|---|---|
| pack-priv static SCDBasedBindingSet transform(DOMForest forest, boolean enableSCD, boolean disableSecureProcessing) Internalize all
| |
| transform | back to summary |
|---|---|
| private SCDBasedBindingSet transform() | |