|
Oracle Fusion Middleware Java API Reference for Oracle ADF Mobile Client 11g Release 1 (11.1.1) E17503-02 |
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectoracle.adfnmc.util.XmlAnyDefinition
public class XmlAnyDefinition
Field Summary | |
---|---|
protected HashMap |
attributes
|
protected List |
children
|
static int |
DEBUG_XML_PARSING
|
static java.lang.String |
INDENT_STRING
|
protected java.lang.String |
name
|
protected java.lang.String |
namespace
|
protected java.lang.String |
text
|
Constructor Summary | |
---|---|
XmlAnyDefinition()
|
|
XmlAnyDefinition(XmlAnyDefinition any)
deprecated should migrate to the copy constructor that takes the attribute and children names so we can validate the definitions. |
|
XmlAnyDefinition(XmlAnyDefinition any,
java.lang.String[] attributes,
java.lang.String[] children)
|
Method Summary | |
---|---|
void |
accept(oracle.adfnmc.util.parse.Visitor visitor)
|
java.lang.String |
dumpXmlAnyDefinition(java.lang.String indent)
|
boolean |
getAttributeBooleanValue(java.lang.String name)
|
org.ksoap2.serialization.PropertyInfo |
getAttributeDetailInformation(java.lang.String name)
|
int |
getAttributeIntegerValue(java.lang.String name)
|
protected Set |
getAttributeNames()
|
java.lang.Object |
getAttributeValue(java.lang.String name)
|
XmlAnyDefinition |
getChildDefinition(int i)
|
XmlAnyDefinition |
getChildDefinition(java.lang.String name)
|
XmlAnyDefinition |
getChildDefinition(java.lang.String name,
Map nvpairs)
Get the child definition that matches the criteria passed in. |
XmlAnyDefinition |
getChildDefinition(java.lang.String name,
java.lang.String parameter,
java.lang.String pvalue)
|
int |
getChildDefinitionCount(java.lang.String name,
java.lang.String parameter,
java.lang.String pvalue)
|
List |
getChildDefinitions(java.lang.String name)
|
List |
getChildDefinitions(java.lang.String name,
Map nvpairs)
Get all the children definitions that matches the criteria passed in. |
List |
getChildren()
|
java.lang.String |
getElementName()
|
java.lang.String |
getText()
|
static XmlAnyDefinition |
loadXmlFromLocation(java.lang.String location,
java.lang.String rootElement)
|
void |
parseAttributes(org.kxml2.io.KXmlParser parser)
|
void |
parseChild(org.kxml2.io.KXmlParser parser)
|
void |
parseText(org.kxml2.io.KXmlParser parser)
|
java.lang.String |
toString()
|
protected boolean |
validateAttributes(java.lang.String[] name)
|
protected boolean |
validateChildren(java.lang.String[] name)
|
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
---|
public static final int DEBUG_XML_PARSING
public static final java.lang.String INDENT_STRING
protected java.lang.String namespace
protected java.lang.String name
protected java.lang.String text
protected HashMap attributes
protected List children
Constructor Detail |
---|
public XmlAnyDefinition()
public XmlAnyDefinition(XmlAnyDefinition any)
public XmlAnyDefinition(XmlAnyDefinition any, java.lang.String[] attributes, java.lang.String[] children)
Method Detail |
---|
public static XmlAnyDefinition loadXmlFromLocation(java.lang.String location, java.lang.String rootElement)
public void accept(oracle.adfnmc.util.parse.Visitor visitor)
accept
in interface oracle.adfnmc.util.parse.Node
public void parseAttributes(org.kxml2.io.KXmlParser parser)
parseAttributes
in interface oracle.adfnmc.util.KXmlUtil.KXmlParsableElement
public void parseText(org.kxml2.io.KXmlParser parser)
parseText
in interface oracle.adfnmc.util.KXmlUtil.KXmlParsableElement
public void parseChild(org.kxml2.io.KXmlParser parser)
parseChild
in interface oracle.adfnmc.util.KXmlUtil.KXmlParsableElement
public java.lang.String getElementName()
public List getChildren()
public org.ksoap2.serialization.PropertyInfo getAttributeDetailInformation(java.lang.String name)
public java.lang.Object getAttributeValue(java.lang.String name)
public boolean getAttributeBooleanValue(java.lang.String name)
public int getAttributeIntegerValue(java.lang.String name)
public XmlAnyDefinition getChildDefinition(java.lang.String name)
public XmlAnyDefinition getChildDefinition(int i)
public int getChildDefinitionCount(java.lang.String name, java.lang.String parameter, java.lang.String pvalue)
public XmlAnyDefinition getChildDefinition(java.lang.String name, java.lang.String parameter, java.lang.String pvalue)
public XmlAnyDefinition getChildDefinition(java.lang.String name, Map nvpairs)
name
- of the elementnvpairs
- simple map where key is the property name
public List getChildDefinitions(java.lang.String name)
public List getChildDefinitions(java.lang.String name, Map nvpairs)
name
- of the elementnvpairs
- simple map where key is the property name
public java.lang.String getText()
public java.lang.String toString()
toString
in class java.lang.Object
public java.lang.String dumpXmlAnyDefinition(java.lang.String indent)
protected Set getAttributeNames()
protected boolean validateAttributes(java.lang.String[] name)
protected boolean validateChildren(java.lang.String[] name)
|
Oracle Fusion Middleware Java API Reference for Oracle ADF Mobile Client 11g Release 1 (11.1.1) E17503-02 |
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |