Purpose: An implementation of XMLPlatform using JAXP 1.3 APIs.
| Modifier and Type | Field and Description |
|---|---|
| private boolean | |
| private DocumentBuilderFactory | |
| private SchemaFactory | |
| private XPathFactory |
| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| public Document | createDocument()
Implements org. |
| public Document | createDocumentWithPublicIdentifier(String
the name of the root element
publicIdentifier the public identifier
systemIdentifier the system identifier name, String publicIdentifier, String systemIdentifier)Implements org. |
| public Document | createDocumentWithSystemIdentifier(String
the name of the root element
systemIdentifier the system identifier name, String systemIdentifier)Implements org. |
| private DocumentBuilderFactory | |
| public SchemaFactory | |
| public XPathFactory | |
| public boolean | |
| public boolean | isWhitespaceNode(Text
a potential whitespace node text)Implements org. |
| public void | namespaceQualifyFragment(Element
Element to qualify next)Implements org. |
| private void | |
| public XMLParser | newXMLParser()
Implements org. |
| public XMLParser | newXMLParser(Map<String, Boolean> parserFeatures)
Implements org. |
| public XMLTransformer | newXMLTransformer()
Implements org. |
| public String | resolveNamespacePrefix(Node
the node to be looking for the namespace
URI
namespacePrefix the namespace prefix contextNode, String namespacePrefix)Implements org. |
| public NodeList | Returns: the XPath resultthe node relative to which the XPath
statement will be executed.
xPath the XPath statement
namespaceResolver used to resolve namespace prefixes
to the corresponding namespace URI contextNode, String xPathString, XMLNamespaceResolver xmlNamespaceResolver)Implements org. |
| public Node | selectSingleNodeAdvanced(Node contextNode, String xPathString, XMLNamespaceResolver xmlNamespaceResolver)
Implements org. |
| public void | setDisableSecureProcessing(boolean disableSecureProcessing)
Implements org. |
| public boolean | validate(Element elem, XMLDescriptor xmlDescriptor, ErrorHandler handler)
Implements org. |
| public boolean | validateDocument(Document
the document to be validated document, URL the XML Schema xmlSchemaURL, ErrorHandler a mechanism for selectively ignoring errors errorHandler)Implements org. |
| disableSecureProcessing | back to summary |
|---|---|
| private boolean disableSecureProcessing | |
| documentBuilderFactory | back to summary |
|---|---|
| private DocumentBuilderFactory documentBuilderFactory | |
| schemaFactory | back to summary |
|---|---|
| private SchemaFactory schemaFactory | |
| xPathFactory | back to summary |
|---|---|
| private XPathFactory xPathFactory | |
| JAXPPlatform | back to summary |
|---|---|
| public JAXPPlatform() | |
| createDocument | back to summary |
|---|---|
| public Document createDocument() throws XMLPlatformException Implements org. Doc from org. Creates a new document. | |
| createDocumentWithPublicIdentifier | back to summary |
|---|---|
| public Document createDocumentWithPublicIdentifier(String name, String publicIdentifier, String systemIdentifier) throws XMLPlatformException Implements org. Doc from org. Creates a new document with the specified public and system identifiers in the DOCTYPE, and adds a root element with the specified name. | |
| createDocumentWithSystemIdentifier | back to summary |
|---|---|
| public Document createDocumentWithSystemIdentifier(String name, String systemIdentifier) throws XMLPlatformException Implements org. Doc from org. Creates a new document with the specified system identifier in the DOCTYPE, and adds a root element with the specified name. | |
| getDocumentBuilderFactory | back to summary |
|---|---|
| private DocumentBuilderFactory getDocumentBuilderFactory() | |
| getSchemaFactory | back to summary |
|---|---|
| public SchemaFactory getSchemaFactory() | |
| getXPathFactory | back to summary |
|---|---|
| public XPathFactory getXPathFactory() | |
| isSecureProcessingDisabled | back to summary |
|---|---|
| public boolean isSecureProcessingDisabled() Implements org.
| |
| isWhitespaceNode | back to summary |
|---|---|
| public boolean isWhitespaceNode(Text text) Implements org. Doc from org. Check to see if the text node represents a whitespace node. | |
| namespaceQualifyFragment | back to summary |
|---|---|
| public void namespaceQualifyFragment(Element next) Implements org.
| |
| namespaceQualifyFragment | back to summary |
|---|---|
| private void namespaceQualifyFragment(Element next, List<String> declaredPrefixes) | |
| newXMLParser | back to summary |
|---|---|
| public XMLParser newXMLParser() Implements org. Doc from org. Return a concrete implementation of the XML parser abstraction that is compatible with the XML Platform. | |
| newXMLParser | back to summary |
|---|---|
| public XMLParser newXMLParser(Map<String, Boolean> parserFeatures) Implements org. Doc from org. Return a concrete implementation of the XML parser abstraction that is compatible with the XML Platform, based on these parser features. | |
| newXMLTransformer | back to summary |
|---|---|
| public XMLTransformer newXMLTransformer() Implements org. Doc from org. Return a concrete implementation of the XML transformer abstraction that is compatible with the XML Platform.
| |
| resolveNamespacePrefix | back to summary |
|---|---|
| public String resolveNamespacePrefix(Node contextNode, String namespacePrefix) throws XMLPlatformException Implements org. Doc from org. Return the namespace URI for the specified namespace prefix relative to the context node. | |
| selectNodesAdvanced | back to summary |
|---|---|
| public NodeList selectNodesAdvanced(Node contextNode, String xPathString, XMLNamespaceResolver xmlNamespaceResolver) throws XMLPlatformException Implements org. Execute advanced XPath statements that are required for TopLink EIS. | |
| selectSingleNodeAdvanced | back to summary |
|---|---|
| public Node selectSingleNodeAdvanced(Node contextNode, String xPathString, XMLNamespaceResolver xmlNamespaceResolver) throws XMLPlatformException Implements org. Execute advanced XPath statements that are required for TopLink EIS.
| |
| setDisableSecureProcessing | back to summary |
|---|---|
| public void setDisableSecureProcessing(boolean disableSecureProcessing) Implements org.
| |
| validate | back to summary |
|---|---|
| public boolean validate(Element elem, XMLDescriptor xmlDescriptor, ErrorHandler handler) throws XMLPlatformException Implements org. Doc from org. Validates a document fragment against a complex type or element in the XML schema
| |
| validateDocument | back to summary |
|---|---|
| public boolean validateDocument(Document document, URL xmlSchemaURL, ErrorHandler errorHandler) throws XMLPlatformException Implements org. Doc from org. Validate the document against the XML Schema
| |