|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.apache.wink.common.model.atom.AtomCommonAttributesSimpleContent
public class AtomCommonAttributesSimpleContent
Common attributes Per RFC4287
Any element defined by this specification MAY have an xml:base attribute [W3C.REC-xmlbase-20010627]. When xml:base is used in an Atom Document, it serves the function described in section 5.1.1 of [RFC3986], establishing the base URI (or IRI) for resolving any relative references found within the effective scope of the xml:base attribute. Any element defined by this specification MAY have an xml:lang attribute, whose content indicates the natural language for the element and its descendents. The language context is only significant for elements and attributes declared to be "Language- Sensitive" by this specification. Requirements regarding the content and interpretation of xml:lang are specified in XML 1.0 [W3C.REC-xml-20040204], Section 2.12. atomCommonAttributes = attribute xml:base { atomUri }?, attribute xml:lang { atomLanguageTag }?, undefinedAttribute*
Field Summary | |
---|---|
protected java.lang.String |
base
|
protected java.lang.String |
lang
|
protected java.lang.String |
value
|
Constructor Summary | |
---|---|
AtomCommonAttributesSimpleContent()
|
|
AtomCommonAttributesSimpleContent(SyndSimpleContent value)
|
Method Summary | |
---|---|
java.lang.String |
getBase()
Gets the value of base. |
java.lang.String |
getLang()
Gets the value of lang. |
java.util.Map<javax.xml.namespace.QName,java.lang.String> |
getOtherAttributes()
Gets a map that contains attributes that aren't bound to any typed on this class. |
java.lang.String |
getValue()
Gets the value of value. |
void |
setBase(java.lang.String value)
Sets the value of base. |
void |
setLang(java.lang.String value)
Sets the value of lang. |
void |
setValue(java.lang.String value)
Sets the value of value. |
protected SyndSimpleContent |
toSynd(SyndSimpleContent value)
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
protected java.lang.String value
protected java.lang.String base
protected java.lang.String lang
Constructor Detail |
---|
public AtomCommonAttributesSimpleContent()
public AtomCommonAttributesSimpleContent(SyndSimpleContent value)
Method Detail |
---|
protected SyndSimpleContent toSynd(SyndSimpleContent value)
public java.lang.String getValue()
public void setValue(java.lang.String value)
public java.lang.String getBase()
public void setBase(java.lang.String value)
public java.lang.String getLang()
public void setLang(java.lang.String value)
public java.util.Map<javax.xml.namespace.QName,java.lang.String> getOtherAttributes()
the map is keyed by the name of the attribute and the value is the string value of the attribute. the map returned by this method is live, and you can add new attribute by updating the map directly. Because of this design, there's no setter.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |