net.sf.jsefa.xml.mapping
Class TextContentDescriptor

java.lang.Object
  extended by net.sf.jsefa.xml.mapping.TextContentDescriptor
All Implemented Interfaces:
NodeDescriptor<XmlNodeType>, XmlNodeDescriptor

public final class TextContentDescriptor
extends Object
implements XmlNodeDescriptor

Descriptor for the content of a non-simple xml element without child elements. There is only one instance of this class.

The instance of this class is immutable and thread-safe.

Author:
Norman Lahme-Huetig

Method Summary
static TextContentDescriptor getInstance()
          Returns the single instance of this class.
 XmlNodeType getType()
          
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

getInstance

public static TextContentDescriptor getInstance()
Returns the single instance of this class.

Returns:
the single TextContentDescriptor

getType

public XmlNodeType getType()

Specified by:
getType in interface NodeDescriptor<XmlNodeType>
Returns:
the node type


Copyright © 2014. All rights reserved.