public interface XDocument extends XEntity, XmlSchema, Encoding
Modifier and Type | Method and Description |
---|---|
logical |
createNode(handle hChild,
character name,
character type)
Creating the new node within the current Document object.
|
logical |
createNode(handle hChild,
character name,
java.lang.String type)
Creating the new node within the current Document object.
|
logical |
createNode(handle hChild,
java.lang.String name,
character type)
Creating the new node within the current Document object.
|
logical |
createNode(handle hChild,
java.lang.String name,
java.lang.String type)
Creating the new node within the current Document object.
|
logical |
createNodeNamespace(handle hChild,
character uri,
character name,
character type)
Creating the new node within the current Document object using different
approach based on the name space URI.
|
logical |
createNodeNamespace(handle hChild,
character uri,
character name,
java.lang.String type)
Creating the new node within the current Document object using different
approach based on the name space URI.
|
logical |
createNodeNamespace(handle hChild,
character uri,
java.lang.String name,
character type)
Creating the new node within the current Document object using different
approach based on the name space URI.
|
logical |
createNodeNamespace(handle hChild,
character uri,
java.lang.String name,
java.lang.String type)
Creating the new node within the current Document object using different
approach based on the name space URI.
|
logical |
createNodeNamespace(handle hChild,
java.lang.String uri,
character name,
character type)
Creating the new node within the current Document object using different
approach based on the name space URI.
|
logical |
createNodeNamespace(handle hChild,
java.lang.String uri,
character name,
java.lang.String type)
Creating the new node within the current Document object using different
approach based on the name space URI.
|
logical |
createNodeNamespace(handle hChild,
java.lang.String uri,
java.lang.String name,
character type)
Creating the new node within the current Document object using different
approach based on the name space URI.
|
logical |
createNodeNamespace(handle hChild,
java.lang.String uri,
java.lang.String name,
java.lang.String type)
Creating the new node within the current Document object using different
approach based on the name space URI.
|
logical |
getDocumentElement(handle hRoot)
Getting the root node for the current document.
|
character |
getPublicId()
This method returns the public ID of the external DTD from which an XML document
was generated.
|
character |
getSystemId()
Returns the system ID of the external DTD from which an XML document was
generated.
|
logical |
importNode(handle xNodeRef,
handle xSourceNodeRef,
boolean deep)
Creating the new node within the current Document object.
|
logical |
importNode(handle xNodeRef,
handle xSourceNodeRef,
logical deep)
Creating the new node within the current Document object.
|
logical |
initializeDocumentType(character namespaceUri,
character rootNodeName,
character publicId,
character systemId)
Creates a new XML document, initializes the document based on the referenced DTD,
and creates its root node.
|
logical |
initializeDocumentType(character namespaceUri,
java.lang.String rootNodeName,
character publicId,
character systemId)
Creates a new XML document, initializes the document based on the referenced DTD,
and creates its root node.
|
logical |
initializeDocumentType(java.lang.String namespaceUri,
character rootNodeName,
java.lang.String publicId,
java.lang.String systemId)
Creates a new XML document, initializes the document based on the referenced DTD,
and creates its root node.
|
logical |
load(character mode,
java.lang.Object source,
boolean validate)
Loading X-Document form file or memptr sources.
|
logical |
load(character mode,
java.lang.Object source,
logical validate)
Loading X-Document form file or memptr sources.
|
logical |
load(java.lang.String mode,
java.lang.Object source,
boolean validate)
Loading X-Document form file or memptr sources.
|
logical |
load(java.lang.String mode,
java.lang.Object source,
logical validate)
Loading X-Document form file or memptr sources.
|
logical |
save(character mode,
java.lang.Object target)
Saving X-Document to file or stream or memptr object.
|
logical |
save(java.lang.String mode,
java.lang.Object target)
Saving X-Document to file or stream or memptr object.
|
appendChild, getChild, getChild, getChildNum, getNamespacePrefix, getNumChildren, getOwnerDocument, insertBefore, removeChild, replaceChild, setNamespacePrefix, setNamespacePrefix
addSchemaLocation, addSchemaLocation, addSchemaLocation, addSchemaLocation, getNonamespaceSchemaLocation, removeAttribute, removeAttribute, removeAttribute, removeAttribute, removeAttribute, removeAttribute, removeAttribute, removeAttribute, removeAttribute, removeAttribute, removeAttribute, removeAttribute, setNonamespaceSchemaLocation, setNonamespaceSchemaLocation
id, id, unknown, valid
getUniqueID
getNamespaceURI, setNamespaceURI, setNamespaceURI
getSubType, setSubType, setSubType
getSchemaLocation, getSchemaPath, getSuppressNamespaceProcessing, setSchemaLocation, setSchemaPath, setSuppressNamespaceProcessing, setSuppressNamespaceProcessing
getEncoding, setEncoding, setEncoding
logical createNode(handle hChild, java.lang.String name, java.lang.String type)
hChild
- The valid handle class instance of the child to be created and
returned on method call to use further.name
- The name of the node to be created.type
- The type of the node to be created.true
in case of success
false
otherwise.logical createNode(handle hChild, character name, java.lang.String type)
hChild
- The valid handle class instance of the child to be created and
returned on method call to use further.name
- The name of the node to be created.type
- The type of the node to be created.true
in case of success
false
otherwise.logical createNode(handle hChild, java.lang.String name, character type)
hChild
- The valid handle class instance of the child to be created and
returned on method call to use further.name
- The name of the node to be created.type
- The type of the node to be created.true
in case of success
false
otherwise.logical createNode(handle hChild, character name, character type)
hChild
- The valid handle class instance of the child to be created and
returned on method call to use further.name
- The name of the node to be created.type
- The type of the node to be created.true
in case of success
false
otherwise.logical createNodeNamespace(handle hChild, java.lang.String uri, java.lang.String name, java.lang.String type)
hChild
- The valid handle class instance of the child to be created and
returned on method call to use further.uri
- The URI namespace of the node to be created.name
- The name of the node to be created.type
- The type of the node to be created.true
in case of success
false
otherwise.logical createNodeNamespace(handle hChild, character uri, java.lang.String name, java.lang.String type)
hChild
- The valid handle class instance of the child to be created and
returned on method call to use further.uri
- The URI namespace of the node to be created.name
- The name of the node to be created.type
- The type of the node to be created.true
in case of success
false
otherwise.logical createNodeNamespace(handle hChild, java.lang.String uri, character name, java.lang.String type)
hChild
- The valid handle class instance of the child to be created and
returned on method call to use further.uri
- The URI namespace of the node to be created.name
- The name of the node to be created.type
- The type of the node to be created.true
in case of success
false
otherwise.logical createNodeNamespace(handle hChild, java.lang.String uri, java.lang.String name, character type)
hChild
- The valid handle class instance of the child to be created and
returned on method call to use further.uri
- The URI namespace of the node to be created.name
- The name of the node to be created.type
- The type of the node to be created.true
in case of success
false
otherwise.logical createNodeNamespace(handle hChild, java.lang.String uri, character name, character type)
hChild
- The valid handle class instance of the child to be created and
returned on method call to use further.uri
- The URI namespace of the node to be created.name
- The name of the node to be created.type
- The type of the node to be created.true
in case of success
false
otherwise.logical createNodeNamespace(handle hChild, character uri, java.lang.String name, character type)
hChild
- The valid handle class instance of the child to be created and
returned on method call to use further.uri
- The URI namespace of the node to be created.name
- The name of the node to be created.type
- The type of the node to be created.true
in case of success
false
otherwise.logical createNodeNamespace(handle hChild, character uri, character name, java.lang.String type)
hChild
- The valid handle class instance of the child to be created and
returned on method call to use further.uri
- The URI namespace of the node to be created.name
- The name of the node to be created.type
- The type of the node to be created.true
in case of success
false
otherwise.logical createNodeNamespace(handle hChild, character uri, character name, character type)
hChild
- The valid handle class instance of the child to be created and
returned on method call to use further.uri
- The URI namespace of the node to be created.name
- The name of the node to be created.type
- The type of the node to be created.true
in case of success
false
otherwise.logical getDocumentElement(handle hRoot)
hRoot
- The valid handle class instance variable to receive the
result.true
in case of success
false
otherwise.logical load(java.lang.String mode, java.lang.Object source, logical validate)
mode
- Variable indicating the type of source to read. "file" means
reading from file, "memptr" means reading from memory buffer.source
- If mode == "file" this is the file name, if "memptr" this is
the memptr object.validate
- Flag indicating whether to validate while reading or not.true
in case of success
false
otherwise.logical load(java.lang.String mode, java.lang.Object source, boolean validate)
mode
- Variable indicating the type of source to read. "file" means
reading from file, "memptr" means reading from memory buffer.source
- If mode == "file" this is the file name, if "memptr" this is
the memptr object.validate
- Flag indicating whether to validate while reading or not.true
in case of success
false
otherwise.logical load(character mode, java.lang.Object source, boolean validate)
mode
- Variable indicating the type of source to read. "file" means
reading from file, "memptr" means reading from memory buffer.source
- If mode == "file" this is the file name, if "memptr" this is
the memptr object.validate
- Flag indicating whether to validate while reading or not.true
in case of success
false
otherwise.logical load(character mode, java.lang.Object source, logical validate)
mode
- Variable indicating the type of source to read. "file" means
reading from file, "memptr" means reading from memory buffer.source
- If mode == "file" this is the file name, if "memptr" this is
the memptr object.validate
- Flag indicating whether to validate while reading or not.true
in case of success
false
otherwise.logical save(java.lang.String mode, java.lang.Object target)
mode
- Variable indicating the type of target to write. "file" means
writing to file, "stream" means writing to the stream and
"memptr" means writing to memory buffer.target
- If mode == "file" this is the file name, if "stream" means
output stream, if "memptr" this is the memptr object.true
in case of success
false
otherwise.logical save(character mode, java.lang.Object target)
mode
- Variable indicating the type of target to write. "file" means
writing to file, "stream" means writing to the stream and
"memptr" means writing to memory buffer.target
- If mode == "file" this is the file name, if "stream" means
output stream, if "memptr" this is the memptr object.true
in case of success
false
otherwise.logical initializeDocumentType(character namespaceUri, character rootNodeName, character publicId, character systemId)
namespaceUri
- character expression representing the namespace Uniform Resource Identifier
(URI) you want associated with the root node of the XML document. The
namespace-uri must be unique and persistent.rootNodeName
- A character expression representing the name of the root node as defined in the
XML document. If you are using namespaces and you want to associate a prefix
with the namespace, you must qualify this node name with the namespace-uri
and a colon character prefix (for example, namespace-uri:root-node-name).
You must explicitly set the xmlns attribute on the root node.publicId
- An optional character expression representing the public ID of the DTD.systemId
- A required character expression representing the system ID of the DTD. This
contains the path to the DTD which is either a file system path or an HTTP URL.true
in case of success
false
otherwise.logical initializeDocumentType(character namespaceUri, java.lang.String rootNodeName, character publicId, character systemId)
namespaceUri
- character expression representing the namespace Uniform Resource Identifier
(URI) you want associated with the root node of the XML document. The
namespace-uri must be unique and persistent.rootNodeName
- A character expression representing the name of the root node as defined in the
XML document. If you are using namespaces and you want to associate a prefix
with the namespace, you must qualify this node name with the namespace-uri
and a colon character prefix (for example, namespace-uri:root-node-name).
You must explicitly set the xmlns attribute on the root node.publicId
- An optional character expression representing the public ID of the DTD.systemId
- A required character expression representing the system ID of the DTD. This
contains the path to the DTD which is either a file system path or an HTTP URL.true
in case of success
false
otherwise.logical initializeDocumentType(java.lang.String namespaceUri, character rootNodeName, java.lang.String publicId, java.lang.String systemId)
namespaceUri
- character expression representing the namespace Uniform Resource Identifier
(URI) you want associated with the root node of the XML document. The
namespace-uri must be unique and persistent.rootNodeName
- A character expression representing the name of the root node as defined in the
XML document. If you are using namespaces and you want to associate a prefix
with the namespace, you must qualify this node name with the namespace-uri
and a colon character prefix (for example, namespace-uri:root-node-name).
You must explicitly set the xmlns attribute on the root node.publicId
- An optional character expression representing the public ID of the DTD.systemId
- A required character expression representing the system ID of the DTD. This
contains the path to the DTD which is either a file system path or an HTTP URL.true
in case of success
false
otherwise.character getPublicId()
character getSystemId()
logical importNode(handle xNodeRef, handle xSourceNodeRef, logical deep)
xNodeRef
- The valid handle class instance to use for the new XML node.xSourceNodeRef
- The valid handle class instance to import from.deep
- A logical that if true
specifies that the whole sub-tree is to be
copied. The default value is false
.true
in case of success
false
otherwise.logical importNode(handle xNodeRef, handle xSourceNodeRef, boolean deep)
xNodeRef
- The valid handle class instance to use for the new XML node.xSourceNodeRef
- The valid handle class instance to import from.deep
- A boolean that if true
specifies that the whole sub-tree is to be
copied. The default value is false
.true
in case of success
false
otherwise.