Package org.apache.fop.fo.properties
Class URIProperty
- java.lang.Object
-
- org.apache.fop.fo.properties.Property
-
- org.apache.fop.fo.properties.URIProperty
-
public class URIProperty extends Property
Class modeling a property that has a value of type <uri-specification>. The purpose is mainly to support resolution of a specified relative URI against a specified or inheritedxml:base
during the property refinement stage. If noxml:base
has been specified, only the original URI, as it appears in the source document, is stored as the property's specified value.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
URIProperty.Maker
InnerPropertyMaker
subclass responsible for making instances of this type.
-
Constructor Summary
Constructors Modifier Constructor Description protected
URIProperty(java.net.URI uri)
Default constructor, to create aURIProperty
from ajava.net.URI
directly.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
equals(java.lang.Object obj)
java.lang.String
getString()
Return a string representing the resolved URI, or the specified value if the URI is not resolved against anxml:base
int
hashCode()
java.lang.String
toString()
-
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, isAuto, setSpecifiedValue
-
-
-
-
Constructor Detail
-
URIProperty
protected URIProperty(java.net.URI uri)
Default constructor, to create aURIProperty
from ajava.net.URI
directly.- Parameters:
uri
- a resolvedjava.net.URI
-
-
Method Detail
-
getString
public java.lang.String getString()
Return a string representing the resolved URI, or the specified value if the URI is not resolved against anxml:base
-
hashCode
public int hashCode()
- Overrides:
hashCode
in classjava.lang.Object
-
equals
public boolean equals(java.lang.Object obj)
- Overrides:
equals
in classjava.lang.Object
-
-