com.abra.j2xb.beans.xmlBinding
Interface XmlNode


public interface XmlNode

Since:
JDK1.5
Version:
1.0, May 1, 2008
Author:
Yoav Abrahami

Nested Class Summary
static class XmlNode.ChildLocation
           
 
Method Summary
 void addChildBoolean(MoXmlSchema schema, java.lang.String elementName, java.lang.Boolean value, XmlNode.ChildLocation childLocation)
           
 XmlNode addChildNode(MoXmlSchema schema, java.lang.String elementName)
           
 XmlNode addChildNode(MoXmlSchema schema, java.lang.String elementName, javax.xml.namespace.QName substitutionGroupName)
           
 void addChildString(MoXmlSchema schema, java.lang.String elementName, java.lang.String value, XmlNode.ChildLocation childLocation)
           
 void addChildValue(MoXmlSchema schema, java.lang.String elementName, XmlValue value, XmlNode.ChildLocation location)
           
 void addChildValueList(MoXmlSchema schema, java.lang.String elementName, java.util.List<XmlValue> values, MoXmlSchema listValueSchema, boolean global, java.lang.String name)
           
 void addChildValues(MoXmlSchema schema, java.lang.String elementName, java.util.List<XmlValue> values)
           
 void flushAttributes()
          Indicates that we finished writing the node attributes
 void flushNode()
          indicates that we finished writing the node including child nodes
 java.lang.Boolean getChildBoolean(MoXmlSchema schema, java.lang.String elementName, XmlNode.ChildLocation childLocation)
           
 XmlNode getChildNode(MoXmlSchema schema, java.lang.String elementName, java.util.List<javax.xml.namespace.QName> knownSubstitutions)
           
 java.util.List<XmlNode> getChildNodes(MoXmlSchema schema, java.lang.String elementName, java.util.List<javax.xml.namespace.QName> knownSubstitutions)
           
 java.lang.String getChildString(MoXmlSchema schema, java.lang.String elementName, XmlNode.ChildLocation childLocation)
           
 XmlValue getChildValue(MoXmlSchema schema, java.lang.String elementName, XmlNode.ChildLocation location, java.util.List<MOPropertySimpleTypeDescriptor> simpleTypeDescriptors)
           
 java.util.Collection<XmlValue> getChildValueList(MoXmlSchema schema, java.lang.String elementName, java.util.List<MOPropertySimpleTypeDescriptor> simpleTypeDescriptors)
           
 java.util.Collection<XmlValue> getChildValues(MoXmlSchema schema, java.lang.String elementName, java.util.List<MOPropertySimpleTypeDescriptor> simpleTypeDescriptors)
           
 javax.xml.namespace.QName getXmlName()
           
 boolean hasChildNode(MoXmlSchema schema, java.lang.String elementName)
           
 

Method Detail

getXmlName

javax.xml.namespace.QName getXmlName()

addChildNode

XmlNode addChildNode(MoXmlSchema schema,
                     java.lang.String elementName)
                     throws XmlPersistException
Throws:
XmlPersistException

addChildNode

XmlNode addChildNode(MoXmlSchema schema,
                     java.lang.String elementName,
                     javax.xml.namespace.QName substitutionGroupName)
                     throws XmlPersistException
Throws:
XmlPersistException

getChildNode

XmlNode getChildNode(MoXmlSchema schema,
                     java.lang.String elementName,
                     java.util.List<javax.xml.namespace.QName> knownSubstitutions)
                     throws XmlPersistException
Throws:
XmlPersistException

hasChildNode

boolean hasChildNode(MoXmlSchema schema,
                     java.lang.String elementName)
                     throws XmlPersistException
Throws:
XmlPersistException

getChildNodes

java.util.List<XmlNode> getChildNodes(MoXmlSchema schema,
                                      java.lang.String elementName,
                                      java.util.List<javax.xml.namespace.QName> knownSubstitutions)
                                      throws XmlPersistException
Throws:
XmlPersistException

addChildString

void addChildString(MoXmlSchema schema,
                    java.lang.String elementName,
                    java.lang.String value,
                    XmlNode.ChildLocation childLocation)
                    throws XmlPersistException
Throws:
XmlPersistException

getChildString

java.lang.String getChildString(MoXmlSchema schema,
                                java.lang.String elementName,
                                XmlNode.ChildLocation childLocation)
                                throws XmlPersistException
Throws:
XmlPersistException

addChildBoolean

void addChildBoolean(MoXmlSchema schema,
                     java.lang.String elementName,
                     java.lang.Boolean value,
                     XmlNode.ChildLocation childLocation)
                     throws XmlPersistException
Throws:
XmlPersistException

getChildBoolean

java.lang.Boolean getChildBoolean(MoXmlSchema schema,
                                  java.lang.String elementName,
                                  XmlNode.ChildLocation childLocation)
                                  throws XmlPersistException
Throws:
XmlPersistException

flushAttributes

void flushAttributes()
Indicates that we finished writing the node attributes


flushNode

void flushNode()
indicates that we finished writing the node including child nodes


addChildValue

void addChildValue(MoXmlSchema schema,
                   java.lang.String elementName,
                   XmlValue value,
                   XmlNode.ChildLocation location)
                   throws XmlPersistException
Throws:
XmlPersistException

getChildValue

XmlValue getChildValue(MoXmlSchema schema,
                       java.lang.String elementName,
                       XmlNode.ChildLocation location,
                       java.util.List<MOPropertySimpleTypeDescriptor> simpleTypeDescriptors)
                       throws XmlPersistException
Throws:
XmlPersistException

addChildValues

void addChildValues(MoXmlSchema schema,
                    java.lang.String elementName,
                    java.util.List<XmlValue> values)
                    throws XmlPersistException
Throws:
XmlPersistException

getChildValues

java.util.Collection<XmlValue> getChildValues(MoXmlSchema schema,
                                              java.lang.String elementName,
                                              java.util.List<MOPropertySimpleTypeDescriptor> simpleTypeDescriptors)
                                              throws XmlPersistException
Throws:
XmlPersistException

addChildValueList

void addChildValueList(MoXmlSchema schema,
                       java.lang.String elementName,
                       java.util.List<XmlValue> values,
                       MoXmlSchema listValueSchema,
                       boolean global,
                       java.lang.String name)
                       throws XmlPersistException
Throws:
XmlPersistException

getChildValueList

java.util.Collection<XmlValue> getChildValueList(MoXmlSchema schema,
                                                 java.lang.String elementName,
                                                 java.util.List<MOPropertySimpleTypeDescriptor> simpleTypeDescriptors)
                                                 throws XmlPersistException
Throws:
XmlPersistException


Copyright © 2008. All Rights Reserved.