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

java.lang.Object
  extended by com.webmethods.caf.faces.data.export.atom.Element
      extended by com.webmethods.caf.faces.data.export.atom.Person

public class Person
extends Element

Represents an atom person element (like author or contributor).


Nested Class Summary
 
Nested classes/interfaces inherited from class com.webmethods.caf.faces.data.export.atom.Element
Element.ElementContentType, Element.Property
 
Field Summary
protected  String m_email
           
protected  String m_personName
           
protected  String m_uri
           
protected static Pattern RE_TITLE_FROM_URL
           
protected static Pattern RE_URI
           
 
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
Person()
           
Person(Object o)
           
 
Method Summary
 String getEmail()
           
 String getPersonName()
           
 String getUri()
           
protected  Element.ElementContentType printContent(PrintWriter out, int tabs)
          Prints the content for this element.
 void setContent(String content)
           
 void setEmail(String email)
           
 void setPersonName(String name)
           
protected  void setProperties(IContentProvider provider, Collection keys)
          Set the normalized properties of this element.
 void setUri(String uri)
           
 
Methods inherited from class com.webmethods.caf.faces.data.export.atom.Element
enforceChildrenConformance, enforceChildrenConformance, enforceConformance, escapeXMLContent, escapeXMLName, firstValue, getAttributes, getBase, getBaseUri, getBaseURI, getChildren, getContent, getLang, getName, getParent, initialize, multipleValues, printAttribute, printChildren, printChildren, printChildren, printEndTag, printStartTag, printTextualContent, serialize, setAttributes, setBase, setChildren, setLang, setName, setParent, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

RE_URI

protected static final Pattern RE_URI

RE_TITLE_FROM_URL

protected static final Pattern RE_TITLE_FROM_URL

m_personName

protected String m_personName

m_uri

protected String m_uri

m_email

protected String m_email
Constructor Detail

Person

public Person()

Person

public Person(Object o)
Method Detail

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

setContent

public void setContent(String content)
Overrides:
setContent in class Element

printContent

protected Element.ElementContentType printContent(PrintWriter out,
                                                  int tabs)
Description copied from class: Element
Prints the content for this element. Includes close bracket for start tag (">"), if needed, child elements, and textual content.

Overrides:
printContent in class Element

getEmail

public String getEmail()

setEmail

public void setEmail(String email)

getPersonName

public String getPersonName()

setPersonName

public void setPersonName(String name)

getUri

public String getUri()

setUri

public void setUri(String uri)