org.deegree.commons.tom.genericxml
Class GenericXMLElementContent
java.lang.Object
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 $
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
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
GenericXMLElementContent
public GenericXMLElementContent(org.apache.xerces.xs.XSTypeDefinition type,
java.util.Map<javax.xml.namespace.QName,PrimitiveValue> attrs,
java.util.List<TypedObjectNode> children)
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.