Oracle Fusion Middleware extensions for XML based Datamodel Framework
11g Release 1 (11.1.1.6)

E22566-06

oracle.apps.fnd.applxdf.xdfapi
Class XdfObject

java.lang.Object
  extended by oracle.apps.fnd.applxdf.xdfapi.XdfObject
Direct Known Subclasses:
Column, Constraint, Index, Sequence, Synonym, Table, UserDefinedProperties, View

public abstract class XdfObject
extends java.lang.Object

An Abstract class of an xdf file object.

Author:
izhang <irene.zhang@oracle.com>

Field Summary
protected  javax.xml.namespace.NamespaceContext ctx
           
protected static boolean DEBUG
           
protected  java.lang.String mBaseObjType
           
protected  java.lang.String mName
           
protected  boolean mPersistenceFormat
           
protected  java.lang.String mSchemaName
           
protected  UserDefinedProperties mUsrPros
           
protected  oracle.xml.parser.v2.XMLElement mXmlDoc
           
protected  javax.xml.xpath.XPath mXPath
           
protected  javax.xml.xpath.XPathExpression mXPathExpr
           
 
Constructor Summary
protected XdfObject(oracle.xml.parser.v2.XMLElement xmlDoc)
          Constructs a new instance with the specified xml document.
protected XdfObject(oracle.xml.parser.v2.XMLElement xmlDoc, boolean persistenceFormat)
          Constructs a new instance with the specified xml document and persistence format.
protected XdfObject(oracle.xml.parser.v2.XMLElement xmlDoc, boolean persistenceFormat, java.lang.String baseObjectType)
          Constructs a new instance with the specified xml document, persistence format and base object type.
 
Method Summary
 java.lang.String getName()
          Retrieves the name of this xdf object.
 boolean getPersistenceFormat()
          Retrieves the persistence format of this object.
 java.lang.String getSchemaName()
          Retrieves the schema name of this object.
abstract  java.lang.String getType()
          Retrieves the type of this object.
 oracle.xml.parser.v2.XMLElement getXmlDoc()
          Get current XML document or document segment.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

ctx

protected javax.xml.namespace.NamespaceContext ctx

mName

protected java.lang.String mName

mXmlDoc

protected oracle.xml.parser.v2.XMLElement mXmlDoc

mSchemaName

protected java.lang.String mSchemaName

mUsrPros

protected UserDefinedProperties mUsrPros

mPersistenceFormat

protected boolean mPersistenceFormat

mBaseObjType

protected java.lang.String mBaseObjType

mXPath

protected javax.xml.xpath.XPath mXPath

mXPathExpr

protected javax.xml.xpath.XPathExpression mXPathExpr

DEBUG

protected static final boolean DEBUG
See Also:
Constant Field Values
Constructor Detail

XdfObject

protected XdfObject(oracle.xml.parser.v2.XMLElement xmlDoc)
Constructs a new instance with the specified xml document.

Parameters:
xmlDoc - - an xml document element.

XdfObject

protected XdfObject(oracle.xml.parser.v2.XMLElement xmlDoc,
                    boolean persistenceFormat)
Constructs a new instance with the specified xml document and persistence format.

Parameters:
xmlDoc - - an xml document element.

XdfObject

protected XdfObject(oracle.xml.parser.v2.XMLElement xmlDoc,
                    boolean persistenceFormat,
                    java.lang.String baseObjectType)
Constructs a new instance with the specified xml document, persistence format and base object type.

Parameters:
xmlDoc - - an xml document element.
Method Detail

getType

public abstract java.lang.String getType()
Retrieves the type of this object. All subclasses have to implement this method to be a concret class.

Returns:
a String as type of this object.

getXmlDoc

public oracle.xml.parser.v2.XMLElement getXmlDoc()
Get current XML document or document segment. (only top level object will hold the full XML document obj, all others have xml document segment)

Returns:
a XMLElement object that reprents a xdf file

getName

public java.lang.String getName()
Retrieves the name of this xdf object.

Returns:
a string containing the name of this object.

getSchemaName

public java.lang.String getSchemaName()
Retrieves the schema name of this object.

Returns:
a String for the schema name of this object.

getPersistenceFormat

public boolean getPersistenceFormat()
Retrieves the persistence format of this object. ( "JDEV" or "SXML")

Returns:
a String for the persistence format of this object.

Oracle Fusion Middleware extensions for XML based Datamodel Framework
11g Release 1 (11.1.1.6)

E22566-06

Copyright © 2012 Oracle. All Rights Reserved.