Skip navigation links

Oracle Fusion Middleware Java API Reference for Oracle ADF Model
11g Release 1 (11.1.1.5.0)

E10653-06


oracle.jbo.domain
Interface XMLDomainInterface

All Known Subinterfaces:
XMLDomainWriter
All Known Implementing Classes:
Array, BlobDomain, ClobDomain, Date, DBSequence, GenericBlob, GenericClob, NClobDomain, NoMasterRowMarker, NullValue, RetainAccessorDomain, Struct, Timestamp, TimestampLTZ, TimestampTZ, WhereClauseParamNoValue

public interface XMLDomainInterface

Implemented by domain classes which can read and write domain values as XML.

Since:
JDevloper 4.0

Method Summary
 Node getXMLContentNode(Document xmlDoc)
          Creates the XML node in the given XML document for this domain's data.
 java.lang.String printXMLDefinition(java.util.Hashtable allDefs, java.io.PrintWriter pw, boolean bContainees)
          Prints the DTD info for this domain in the given print writer.

 

Method Detail

getXMLContentNode

Node getXMLContentNode(Document xmlDoc)
Creates the XML node in the given XML document for this domain's data.
Parameters:
xmlDoc - name of the XML document in which the node should be created.

printXMLDefinition

java.lang.String printXMLDefinition(java.util.Hashtable allDefs,
                                    java.io.PrintWriter pw,
                                    boolean bContainees)
Prints the DTD info for this domain in the given print writer. Returns the DTD string to be added to this domain's container entity/domain.

The allDefs hashtable contains predefined XML definitions and is passed by whatever calls this method.

Parameters:
allDefs - a hashtable of predefined XML definitions passed from whatever calls this method.
pw - print writer into which the defnition is being printed.
bContainees - if true, prints definitions of contained objects.

Skip navigation links

Oracle Fusion Middleware Java API Reference for Oracle ADF Model
11g Release 1 (11.1.1.5.0)

E10653-06


Copyright © 1997, 2011, Oracle. All rights reserved.