public class Person extends Element
Element.ElementContentType, Element.Property
Modifier and Type | Field and Description |
---|---|
protected String |
m_email |
protected String |
m_personName |
protected String |
m_uri |
protected static Pattern |
RE_TITLE_FROM_URL |
protected static Pattern |
RE_URI |
m_attributes, m_base, m_baseURI, m_children, m_content, m_lang, m_name, m_parent, STRIP_FROM_NORMAL_NAME
Modifier and Type | Method and Description |
---|---|
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) |
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
protected static final Pattern RE_URI
protected static final Pattern RE_TITLE_FROM_URL
protected String m_personName
protected String m_uri
protected String m_email
public Person()
public Person(Object o)
protected void setProperties(IContentProvider provider, Collection<?> keys)
Element
setProperties
in class Element
public void setContent(String content)
setContent
in class Element
protected Element.ElementContentType printContent(PrintWriter out, int tabs)
Element
printContent
in class Element
public String getEmail()
public void setEmail(String email)
public String getPersonName()
public void setPersonName(String name)
public String getUri()
public void setUri(String uri)