org.deegree.commons.tom.genericxml
Class GenericXMLElementContent

java.lang.Object
  extended by org.deegree.commons.tom.genericxml.GenericXMLElementContent
All Implemented Interfaces:
TypedObjectNode
Direct Known Subclasses:
GenericXMLElement

public class GenericXMLElementContent
extends java.lang.Object
implements TypedObjectNode

TypedObjectNode that represents the content of a generic XML element with associated XML schema type information.

Version:
$Revision: 26897 $, $Date: 2010-09-21 15:54:03 +0200 (Di, 21. Sep 2010) $
Author:
Markus Schneider, last edited by: $Author: mschneider $

Field Summary
protected  java.util.Map<javax.xml.namespace.QName,PrimitiveValue> attrs
           
protected  java.util.List<TypedObjectNode> children
           
protected  org.apache.xerces.xs.XSTypeDefinition type
           
 
Constructor Summary
GenericXMLElementContent(org.apache.xerces.xs.XSTypeDefinition type, java.util.Map<javax.xml.namespace.QName,PrimitiveValue> attrs, java.util.List<TypedObjectNode> children)
           
 
Method Summary
 void addChild(TypedObjectNode node)
           
 java.util.Map<javax.xml.namespace.QName,PrimitiveValue> getAttributes()
           
 java.util.List<TypedObjectNode> getChildren()
           
 org.apache.xerces.xs.XSTypeDefinition getXSType()
           
 void setAttribute(javax.xml.namespace.QName name, PrimitiveValue value)
           
 void setChildren(java.util.List<TypedObjectNode> newChildren)
           
 java.lang.String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

attrs

protected java.util.Map<javax.xml.namespace.QName,PrimitiveValue> attrs

children

protected java.util.List<TypedObjectNode> children

type

protected org.apache.xerces.xs.XSTypeDefinition type
Constructor Detail

GenericXMLElementContent

public GenericXMLElementContent(org.apache.xerces.xs.XSTypeDefinition type,
                                java.util.Map<javax.xml.namespace.QName,PrimitiveValue> attrs,
                                java.util.List<TypedObjectNode> children)
Method Detail

getAttributes

public java.util.Map<javax.xml.namespace.QName,PrimitiveValue> getAttributes()

getChildren

public java.util.List<TypedObjectNode> getChildren()

getXSType

public org.apache.xerces.xs.XSTypeDefinition getXSType()

setAttribute

public void setAttribute(javax.xml.namespace.QName name,
                         PrimitiveValue value)

addChild

public void addChild(TypedObjectNode node)

toString

public java.lang.String toString()
Overrides:
toString in class java.lang.Object

setChildren

public void setChildren(java.util.List<TypedObjectNode> newChildren)


Copyright © 2011. All Rights Reserved.