org.apache.fop.fo.properties

Class StringProperty


public class StringProperty
extends Property

Exists primarily as a container for its Maker inner class, which is extended by many string-based FO property classes.

Nested Class Summary

static class
StringProperty.Maker
Inner class for making instances of StringProperty

Field Summary

Fields inherited from class org.apache.fop.fo.properties.Property

log

Method Summary

boolean
equals(Object obj)
static StringProperty
getInstance(String str)
Return the canonical StringProperty instance corresponding to the given string value
Object
getObject()
String
getString()
int
hashCode()

Methods inherited from class org.apache.fop.fo.properties.Property

getCharacter, getColor, getCondLength, getEnum, getKeep, getLength, getLengthPair, getLengthRange, getList, getNCname, getNumber, getNumeric, getObject, getSpace, getSpecifiedValue, getString, isAuto, setSpecifiedValue, toString

Method Details

equals

public boolean equals(Object obj)
See Also:
java.lang.Object.hashCode()

getInstance

public static StringProperty getInstance(String str)
Return the canonical StringProperty instance corresponding to the given string value
Parameters:
str - the base String
Returns:
the canonical instance

getObject

public Object getObject()
Overrides:
getObject in interface Property
Returns:
the Object equivalent of this property

getString

public String getString()
Overrides:
getString in interface Property
Returns:
the String equivalent of this property

hashCode

public int hashCode()
See Also:
java.lang.Object.hashCode()

Copyright 1999-2007 The Apache Software Foundation. All Rights Reserved.