org.apache.fop.fo.expr
Class NCnameProperty
java.lang.Object
|
+--org.apache.fop.fo.properties.Property
|
+--org.apache.fop.fo.expr.NCnameProperty
- public class NCnameProperty
- extends Property
Class for handling NC Name objects
Fields inherited from class org.apache.fop.fo.properties.Property |
log |
Constructor Summary |
NCnameProperty(java.lang.String ncName)
Constructor |
Method Summary |
ColorType |
getColor()
If a system color, return the corresponding value (appears to be
unimplemented) |
java.lang.String |
getNCname()
This method expects to be overridden by subclasses |
java.lang.Object |
getObject()
This method expects to be overridden by subclasses |
java.lang.String |
getString()
This method expects to be overridden by subclasses. |
Methods inherited from class org.apache.fop.fo.properties.Property |
getCharacter, getColorType, getCondLength, getEnum, getKeep, getLength, getLengthPair, getLengthRange, getList, getNumber, getNumeric, getSpace, getSpecifiedValue, isAuto, setSpecifiedValue, toString |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
NCnameProperty
public NCnameProperty(java.lang.String ncName)
- Constructor
- Parameters:
ncName
- string representing the ncName
getColor
public ColorType getColor()
throws PropertyException
- If a system color, return the corresponding value (appears to be
unimplemented)
- Returns:
- ColorType object corresponding to the NCName
- Throws:
PropertyException
- in all cases currently
getString
public java.lang.String getString()
- Description copied from class:
Property
- This method expects to be overridden by subclasses.
- Overrides:
getString
in class Property
- Returns:
- the name as a String (should be specified with quotes!)
getObject
public java.lang.Object getObject()
- Description copied from class:
Property
- This method expects to be overridden by subclasses
- Overrides:
getObject
in class Property
- Returns:
- the name as an Object.
getNCname
public java.lang.String getNCname()
- Description copied from class:
Property
- This method expects to be overridden by subclasses
- Overrides:
getNCname
in class Property
- Returns:
- ncName for this
Copyright 1999-2006 The Apache Software Foundation. All Rights Reserved.