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

E10653-05

oracle.jbo.common
Class JboXMLUtil

java.lang.Object
  extended by oracle.jbo.common.JboXMLUtil

public class JboXMLUtil
extends java.lang.Object

Internal: Applications should not use this class.


Field Summary
static java.lang.String NULL_VALUE
           
static java.lang.String ORIGINAL
           
static java.lang.String PARAM
           
static java.lang.String PARAMCOUNT
           
static java.lang.String RECENT
           
static java.lang.String VO_PARAM_NAME
           
static java.lang.String VO_PARAM_TYPE
           
static byte XML_FAC_BOTH
           
static byte XML_FAC_DOMAINFAC
           
static byte XML_FAC_INIT
           
static byte XML_FAC_SERIALIZER
           
static byte XML_FAC_UNINIT
           
static java.lang.String XML_NULL_ATTR_TAG
           
 
Constructor Summary
JboXMLUtil()
           
 
Method Summary
static java.lang.Object[] activateOrigAndRecentValues(Element elem)
           
static java.lang.Object[] activateParams(Element child)
           
static Element convertStringToElement(java.lang.String data)
           
static DOMParser createDOMParser(boolean preserveWhiteSpace)
           
static java.lang.String[] deserializeStrings(java.lang.String val)
           
static Node getFirstChildByType(Node elem, short type)
           
static Node getNextSiblingByType(Node elem, short type)
           
static java.lang.Object getXMLContentValueForParam(java.lang.String type, Element attrElem, boolean serializer)
           
static XMLValueFactory getXMLValueFactory(java.lang.Class clz, byte[] returnFacType)
           
static boolean isElement(Node node)
           
static boolean isNodeType(Node node, int type)
           
static boolean isText(Node node)
           
static Element passivateOrigAndRecentValues(Document doc, Element node, java.lang.String elemName, java.lang.Object[] objs)
           
static Element passivateParamArray(DefWriter jos, java.lang.String elemName, java.lang.Object[] objs)
           
static Element passivateParamArray(Document doc, Element node, java.lang.String elemName, java.lang.Object[] objs)
           
static java.lang.StringBuffer printNode(java.lang.StringBuffer buffer, Node node, int nLevel)
           
static void processAndReadXML(XMLInterface obj, Element elem, int depthCount, XSLStylesheet xslt)
           
static XMLDocument processXSL(XMLDocument xmlDoc, XSLStylesheet xslt)
           
static java.lang.String serializeStrings(java.lang.String[] valueList)
           
static java.lang.String streamXMLNodeToString(Node inNode)
           
static Node writeAndProcessXML(XMLInterface obj, int depthCount, long options, XSLStylesheet xslt)
           
static Node writeAndProcessXML(XMLInterface obj, long options, java.util.HashMap map, XSLStylesheet xslt)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

PARAMCOUNT

public static final java.lang.String PARAMCOUNT
See Also:
Constant Field Values

PARAM

public static final java.lang.String PARAM
See Also:
Constant Field Values

VO_PARAM_NAME

public static final java.lang.String VO_PARAM_NAME
See Also:
Constant Field Values

VO_PARAM_TYPE

public static final java.lang.String VO_PARAM_TYPE
See Also:
Constant Field Values

NULL_VALUE

public static final java.lang.String NULL_VALUE
See Also:
Constant Field Values

ORIGINAL

public static final java.lang.String ORIGINAL
See Also:
Constant Field Values

RECENT

public static final java.lang.String RECENT
See Also:
Constant Field Values

XML_FAC_UNINIT

public static final byte XML_FAC_UNINIT
See Also:
Constant Field Values

XML_FAC_INIT

public static final byte XML_FAC_INIT
See Also:
Constant Field Values

XML_FAC_DOMAINFAC

public static final byte XML_FAC_DOMAINFAC
See Also:
Constant Field Values

XML_FAC_SERIALIZER

public static final byte XML_FAC_SERIALIZER
See Also:
Constant Field Values

XML_FAC_BOTH

public static final byte XML_FAC_BOTH
See Also:
Constant Field Values

XML_NULL_ATTR_TAG

public static final java.lang.String XML_NULL_ATTR_TAG
Constructor Detail

JboXMLUtil

public JboXMLUtil()
Method Detail

writeAndProcessXML

public static Node writeAndProcessXML(XMLInterface obj,
                                      int depthCount,
                                      long options,
                                      XSLStylesheet xslt)

writeAndProcessXML

public static Node writeAndProcessXML(XMLInterface obj,
                                      long options,
                                      java.util.HashMap map,
                                      XSLStylesheet xslt)

processAndReadXML

public static void processAndReadXML(XMLInterface obj,
                                     Element elem,
                                     int depthCount,
                                     XSLStylesheet xslt)

processXSL

public static XMLDocument processXSL(XMLDocument xmlDoc,
                                     XSLStylesheet xslt)

getFirstChildByType

public static Node getFirstChildByType(Node elem,
                                       short type)

getNextSiblingByType

public static Node getNextSiblingByType(Node elem,
                                        short type)

streamXMLNodeToString

public static java.lang.String streamXMLNodeToString(Node inNode)

convertStringToElement

public static Element convertStringToElement(java.lang.String data)

createDOMParser

public static DOMParser createDOMParser(boolean preserveWhiteSpace)

serializeStrings

public static java.lang.String serializeStrings(java.lang.String[] valueList)

deserializeStrings

public static java.lang.String[] deserializeStrings(java.lang.String val)

isNodeType

public static boolean isNodeType(Node node,
                                 int type)

isElement

public static boolean isElement(Node node)

isText

public static boolean isText(Node node)

printNode

public static java.lang.StringBuffer printNode(java.lang.StringBuffer buffer,
                                               Node node,
                                               int nLevel)

passivateParamArray

public static Element passivateParamArray(Document doc,
                                          Element node,
                                          java.lang.String elemName,
                                          java.lang.Object[] objs)

passivateParamArray

public static Element passivateParamArray(DefWriter jos,
                                          java.lang.String elemName,
                                          java.lang.Object[] objs)

activateParams

public static java.lang.Object[] activateParams(Element child)

getXMLContentValueForParam

public static java.lang.Object getXMLContentValueForParam(java.lang.String type,
                                                          Element attrElem,
                                                          boolean serializer)

getXMLValueFactory

public static XMLValueFactory getXMLValueFactory(java.lang.Class clz,
                                                 byte[] returnFacType)

passivateOrigAndRecentValues

public static Element passivateOrigAndRecentValues(Document doc,
                                                   Element node,
                                                   java.lang.String elemName,
                                                   java.lang.Object[] objs)

activateOrigAndRecentValues

public static java.lang.Object[] activateOrigAndRecentValues(Element elem)

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

E10653-05

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