|
Oracle Fusion Middleware Java API Reference for Oracle TopLink 11g Release 1 (11.1.1) B32476-02 |
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object
oracle.toplink.platform.xml.xdk.XDKPlatform
public class XDKPlatform
Purpose: An implementation of XMLPlatform using Oracle XDK APIs.
Constructor Summary | |
---|---|
XDKPlatform() |
Method Summary | |
---|---|
org.w3c.dom.Document |
createDocument() Creates a new document. |
org.w3c.dom.Document |
createDocumentWithPublicIdentifier(java.lang.String name, java.lang.String publicIdentifier, java.lang.String systemIdentifier) Creates a new document with the specified public and system identifiers in the DOCTYPE, and adds a root element with the specified name. |
org.w3c.dom.Document |
createDocumentWithSystemIdentifier(java.lang.String name, java.lang.String systemIdentifier) Creates a new document with the specified system identifier in the DOCTYPE, and adds a root element with the specified name. |
boolean |
isWhitespaceNode(org.w3c.dom.Text text) Check to see if the text node represents a whitespace node. |
void |
namespaceQualifyFragment(org.w3c.dom.Element next) |
XMLParser |
newXMLParser() Return a concrete implementation of the XML parser abstraction that is compatible with the XML Platform. |
XMLTransformer |
newXMLTransformer() Return a concrete implementation of the XML transformer abstraction that is compatible with the XML Platform. |
java.lang.String |
resolveNamespacePrefix(org.w3c.dom.Node contextNode, java.lang.String namespacePrefix) Return the namespace URI for the specified namespace prefix relative to the context node. |
org.w3c.dom.NodeList |
selectNodesAdvanced(org.w3c.dom.Node contextNode, java.lang.String xPath, XMLNamespaceResolver xmlNamespaceResolver) Execute advanced XPath statements that are required for TopLink EIS. |
org.w3c.dom.Node |
selectSingleNodeAdvanced(org.w3c.dom.Node contextNode, java.lang.String xPath, XMLNamespaceResolver xmlNamespaceResolver) Execute advanced XPath statements that are required for TopLink EIS. |
boolean |
validate(org.w3c.dom.Element elem, XMLDescriptor xmlDescriptor, org.xml.sax.ErrorHandler errorHandler) Validates a document fragment against a complex type or element in the XML schema |
boolean |
validateDocument(org.w3c.dom.Document document, java.net.URL xmlSchemaURL, org.xml.sax.ErrorHandler errorHandler) Validates a document against an XML schema |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public XDKPlatform()
Method Detail |
---|
public org.w3c.dom.Node selectSingleNodeAdvanced(org.w3c.dom.Node contextNode, java.lang.String xPath, XMLNamespaceResolver xmlNamespaceResolver) throws XMLPlatformException
selectSingleNodeAdvanced
in interface XMLPlatform
contextNode
-xPath
-xmlNamespaceResolver
-XMLPlatformException
public org.w3c.dom.NodeList selectNodesAdvanced(org.w3c.dom.Node contextNode, java.lang.String xPath, XMLNamespaceResolver xmlNamespaceResolver) throws XMLPlatformException
selectNodesAdvanced
in interface XMLPlatform
contextNode
- the node relative to which the XPath statement will be executed. xPath the XPath statement namespaceResolver used to resolve namespace prefixes to the corresponding namespace URIXMLPlatformException
public org.w3c.dom.Document createDocument() throws XMLPlatformException
createDocument
in interface XMLPlatform
XMLPlatformException
public org.w3c.dom.Document createDocumentWithPublicIdentifier(java.lang.String name, java.lang.String publicIdentifier, java.lang.String systemIdentifier) throws XMLPlatformException
createDocumentWithPublicIdentifier
in interface XMLPlatform
name
- the name of the root element publicIdentifier the public identifier systemIdentifier the system identifierXMLPlatformException
public org.w3c.dom.Document createDocumentWithSystemIdentifier(java.lang.String name, java.lang.String systemIdentifier) throws XMLPlatformException
createDocumentWithSystemIdentifier
in interface XMLPlatform
name
- the name of the root element systemIdentifier the system identifierXMLPlatformException
public boolean isWhitespaceNode(org.w3c.dom.Text text)
isWhitespaceNode
in interface XMLPlatform
text
- a potential whitespace nodepublic java.lang.String resolveNamespacePrefix(org.w3c.dom.Node contextNode, java.lang.String namespacePrefix) throws XMLPlatformException
resolveNamespacePrefix
in interface XMLPlatform
contextNode
- the node to be looking for the namespace URI namespacePrefix the namespace prefixXMLPlatformException
public XMLParser newXMLParser()
newXMLParser
in interface XMLPlatform
public XMLTransformer newXMLTransformer()
newXMLTransformer
in interface XMLPlatform
public boolean validateDocument(org.w3c.dom.Document document, java.net.URL xmlSchemaURL, org.xml.sax.ErrorHandler errorHandler) throws XMLPlatformException
validateDocument
in interface XMLPlatform
document
- - the document to be validatedxmlSchemaURL
- - the schema URLerrorHandler
- - the error handlerXMLPlatformException
public boolean validate(org.w3c.dom.Element elem, XMLDescriptor xmlDescriptor, org.xml.sax.ErrorHandler errorHandler) throws XMLPlatformException
validate
in interface XMLPlatform
document
- - the document which contains the document fragment to be validatedschemaReference
- - the path to the complex type or element to be validated against in the schemahandler
- - the error handlerXMLPlatformException
public void namespaceQualifyFragment(org.w3c.dom.Element next)
namespaceQualifyFragment
in interface XMLPlatform
next
- Element to qualify
|
|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |