com.webmethods.caf.faces.data.export.atom
Class Text

java.lang.Object
  extended by com.webmethods.caf.faces.data.export.atom.Element
      extended by com.webmethods.caf.faces.data.export.atom.Text
Direct Known Subclasses:
Content

public class Text
extends Element

Represents an atom text element.


Nested Class Summary
 
Nested classes/interfaces inherited from class com.webmethods.caf.faces.data.export.atom.Element
Element.ElementContentType, Element.Property
 
Field Summary
protected static Pattern ANY_HTML
           
protected static Pattern HTML_MEDIA_TYPE
           
protected  String m_type
           
protected static Pattern TEXT_MEDIA_TYPE
           
protected static Pattern XHTML_DIV
           
protected static Pattern XHTML_MEDIA_TYPE
           
protected static Pattern XML_MEDIA_TYPE
           
 
Fields inherited from class com.webmethods.caf.faces.data.export.atom.Element
m_attributes, m_base, m_baseURI, m_children, m_content, m_lang, m_name, m_parent, STRIP_FROM_NORMAL_NAME
 
Constructor Summary
Text()
           
Text(Object o)
           
 
Method Summary
 void enforceConformance()
          Execute any additional logic needed to make this element conform to the atom (or other) spec.
 String getType()
           
protected  void printStartTag(PrintWriter out, int tabs)
          Prints the start tag for this element.
protected  void printTextualContent(PrintWriter out, String content)
          Prints the specified textual content for this element, escaping as necessary.
protected  void setProperties(IContentProvider provider, Collection keys)
          Set the normalized properties of this element.
 void setType(String type)
           
 
Methods inherited from class com.webmethods.caf.faces.data.export.atom.Element
enforceChildrenConformance, enforceChildrenConformance, escapeXMLContent, escapeXMLName, firstValue, getAttributes, getBase, getBaseUri, getBaseURI, getChildren, getContent, getLang, getName, getParent, initialize, multipleValues, printAttribute, printChildren, printChildren, printChildren, printContent, printEndTag, serialize, setAttributes, setBase, setChildren, setContent, setLang, setName, setParent, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

ANY_HTML

protected static final Pattern ANY_HTML

XHTML_DIV

protected static final Pattern XHTML_DIV

TEXT_MEDIA_TYPE

protected static final Pattern TEXT_MEDIA_TYPE

HTML_MEDIA_TYPE

protected static final Pattern HTML_MEDIA_TYPE

XHTML_MEDIA_TYPE

protected static final Pattern XHTML_MEDIA_TYPE

XML_MEDIA_TYPE

protected static final Pattern XML_MEDIA_TYPE

m_type

protected String m_type
Constructor Detail

Text

public Text()

Text

public Text(Object o)
Method Detail

enforceConformance

public void enforceConformance()
Description copied from class: Element
Execute any additional logic needed to make this element conform to the atom (or other) spec.

Overrides:
enforceConformance in class Element

setProperties

protected void setProperties(IContentProvider provider,
                             Collection keys)
Description copied from class: Element
Set the normalized properties of this element.

Overrides:
setProperties in class Element

printStartTag

protected void printStartTag(PrintWriter out,
                             int tabs)
Description copied from class: Element
Prints the start tag for this element. Includes open bracket, tag name, and attributes, but not close bracket (">").

Overrides:
printStartTag in class Element

printTextualContent

protected void printTextualContent(PrintWriter out,
                                   String content)
Description copied from class: Element
Prints the specified textual content for this element, escaping as necessary.

Overrides:
printTextualContent in class Element

getType

public String getType()

setType

public void setType(String type)