fop 0.94

org.apache.fop.fo.flow
Class Marker.MarkerPropertyList

java.lang.Object
  extended by org.apache.fop.fo.PropertyList
      extended by org.apache.fop.fo.flow.Marker.MarkerPropertyList
All Implemented Interfaces:
org.xml.sax.Attributes
Enclosing class:
Marker

protected class Marker.MarkerPropertyList
extends PropertyList
implements org.xml.sax.Attributes

An implementation of PropertyList which only stores the explicitly specified properties/attributes as bundles of name-value-namespace strings


Field Summary
 
Fields inherited from class org.apache.fop.fo.PropertyList
parentPropertyList
 
Constructor Summary
Marker.MarkerPropertyList(FObj fobj, PropertyList parentPropertyList)
          Overriding default constructor
 
Method Summary
 void addAttributesToList(org.xml.sax.Attributes attributes)
          Override that doesn't convert the attributes to Property instances, but simply stores the attributes for later processing;
 Property getExplicit(int propId)
          Null implementation; not used by this type of PropertyList
 int getIndex(java.lang.String qname)
           
 int getIndex(java.lang.String name, java.lang.String namespace)
           
 int getLength()
           
 java.lang.String getLocalName(int index)
           
 java.lang.String getQName(int index)
           
 java.lang.String getType(int index)
          Default implementation; not used
 java.lang.String getType(java.lang.String qname)
          Default implementation; not used
 java.lang.String getType(java.lang.String name, java.lang.String namespace)
          Default implementation; not used
 java.lang.String getURI(int index)
           
 java.lang.String getValue(int index)
           
 java.lang.String getValue(java.lang.String qname)
           
 java.lang.String getValue(java.lang.String name, java.lang.String namespace)
           
 void putExplicit(int propId, Property value)
          Null implementation; not used by this type of PropertyList
 
Methods inherited from class org.apache.fop.fo.PropertyList
findBasePropertyName, findSubPropertyName, get, get, getAbsolutePositionProps, getAccessibilityProps, getAuralProps, getBorderPaddingBackgroundProps, getExplicitOrShorthand, getFObj, getFontProps, getFromParent, getHyphenationProps, getInherited, getMarginBlockProps, getMarginInlineProps, getNearestSpecified, getParentFObj, getParentPropertyList, getRelativePositionProps, getTextDecorationProps, getWritingMode, getWritingMode, handleInvalidProperty, isValidPropertyName, setWritingMode
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Marker.MarkerPropertyList

public Marker.MarkerPropertyList(FObj fobj,
                                 PropertyList parentPropertyList)
Overriding default constructor

Parameters:
fobj - the FObj to attach
parentPropertyList - ignored
Method Detail

addAttributesToList

public void addAttributesToList(org.xml.sax.Attributes attributes)
                         throws ValidationException
Override that doesn't convert the attributes to Property instances, but simply stores the attributes for later processing;

Overrides:
addAttributesToList in class PropertyList
Parameters:
attributes - Collection of attributes passed to us from the parser.
Throws:
ValidationException - if there is an attribute that does not map to a property id (strict validation only)
See Also:
PropertyList.addAttributesToList(Attributes)

putExplicit

public void putExplicit(int propId,
                        Property value)
Null implementation; not used by this type of PropertyList

Specified by:
putExplicit in class PropertyList
Parameters:
propId - The ID of the property to set.
value - The value of the property.
See Also:
PropertyList.putExplicit(int, Property)

getExplicit

public Property getExplicit(int propId)
Null implementation; not used by this type of PropertyList

Specified by:
getExplicit in class PropertyList
Parameters:
propId - The ID of the property whose value is desired.
Returns:
The value if the property is explicitly set, otherwise null.
See Also:
PropertyList.getExplicit(int)

getLength

public int getLength()
Specified by:
getLength in interface org.xml.sax.Attributes
See Also:
Attributes.getLength()

getURI

public java.lang.String getURI(int index)
Specified by:
getURI in interface org.xml.sax.Attributes
See Also:
Attributes.getURI(int)

getLocalName

public java.lang.String getLocalName(int index)
Specified by:
getLocalName in interface org.xml.sax.Attributes
See Also:
Attributes.getLocalName(int)

getQName

public java.lang.String getQName(int index)
Specified by:
getQName in interface org.xml.sax.Attributes
See Also:
Attributes.getQName(int)

getType

public java.lang.String getType(int index)
Default implementation; not used

Specified by:
getType in interface org.xml.sax.Attributes
See Also:
Attributes.getType(int)

getValue

public java.lang.String getValue(int index)
Specified by:
getValue in interface org.xml.sax.Attributes
See Also:
Attributes.getValue(int)

getIndex

public int getIndex(java.lang.String name,
                    java.lang.String namespace)
Specified by:
getIndex in interface org.xml.sax.Attributes
See Also:
Attributes.getIndex(String, String)

getIndex

public int getIndex(java.lang.String qname)
Specified by:
getIndex in interface org.xml.sax.Attributes
See Also:
Attributes.getIndex(String)

getType

public java.lang.String getType(java.lang.String name,
                                java.lang.String namespace)
Default implementation; not used

Specified by:
getType in interface org.xml.sax.Attributes
See Also:
Attributes.getType(String, String)

getType

public java.lang.String getType(java.lang.String qname)
Default implementation; not used

Specified by:
getType in interface org.xml.sax.Attributes
See Also:
Attributes.getType(String)

getValue

public java.lang.String getValue(java.lang.String name,
                                 java.lang.String namespace)
Specified by:
getValue in interface org.xml.sax.Attributes
See Also:
Attributes.getValue(String, String)

getValue

public java.lang.String getValue(java.lang.String qname)
Specified by:
getValue in interface org.xml.sax.Attributes
See Also:
Attributes.getValue(String)

fop 0.94

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