|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.foray.fotree.Property
org.foray.fotree.xml.AbstractXmlProperty
org.foray.fotree.xml.prop.Lang
public class Lang
An xml:lang property.
Field Summary |
---|
Fields inherited from class org.foray.fotree.Property |
---|
PRECEDENCE_FORCE |
Constructor Summary | |
---|---|
Lang(FObj fobj,
String propertyFullName,
String attributeValue)
Constructor. |
Method Summary | |
---|---|
PdCountry |
getCountry()
Return the Country, if any, embedded in this property. |
PdLanguage |
getLanguage()
Return the Language, if any, embedded in this property. |
XmlProperty |
getPropertyType()
Returns the type of this property. |
protected FoValue[] |
getValidKeywords()
Returns the valid keywords for this property. |
PropertyValue |
value()
Returns the value for this property. |
Methods inherited from class org.foray.fotree.xml.AbstractXmlProperty |
---|
checkKeywords, standardParse |
Methods inherited from class org.foray.fotree.Property |
---|
convertNumericToInteger, convertValueToLength, getBasePropertyName, getKeywordIndex, getKeywordInSet, getSubPropertyName, invalidPropertyName, keywordInSet, unexpectedInitialValueArgument, unexpectedRetrieval, unexpectedValue, unexpectedValue |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public Lang(FObj fobj, String propertyFullName, String attributeValue) throws PropertyException
fobj
- The FObj to which this property belongs.propertyFullName
- The full name of this property.attributeValue
- The parsed property value.
PropertyException
- For an invalid property value.Method Detail |
---|
public PdCountry getCountry()
public PdLanguage getLanguage()
protected FoValue[] getValidKeywords()
AbstractXmlProperty
getValidKeywords
in class AbstractXmlProperty
public PropertyValue value()
value
in class Property
public XmlProperty getPropertyType()
Property
getPropertyType
in class AbstractXmlProperty
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |