org.jostraca.section
Class Identity
java.lang.Object
org.jostraca.section.Identity
- All Implemented Interfaces:
- Modifier
- Direct Known Subclasses:
- BlockIndenter, Collapser, Marker, PythonIndenter
- public class Identity
- extends java.lang.Object
- implements Modifier
Modify Section/SectionSet: return unchanged.
|
Field Summary |
static java.lang.String |
CN
|
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
CN
public static final java.lang.String CN
Identity
public Identity()
modify
public Section modify(Section pSection,
PropertySet pPropertySet)
throws ModifierException
- Return Section unmodified
- Specified by:
modify in interface Modifier
- Parameters:
pSection - Section to modify.pPropertySet - PropertySet which may contain parameters for the modification.
- Throws:
ModifierException
modify
public SectionSet modify(SectionSet pSectionSet,
PropertySet pPropertySet)
throws ModifierException
- Apply modify to all Sections in SectionSet.
This class can be subclassed to inherit this functionality.
- Specified by:
modify in interface Modifier
- Parameters:
pSectionSet - SectionSet containing Sections to modify.pPropertySet - PropertySet which may contain parameters for the modification.
- Throws:
ModifierException
checkNulls
protected Section checkNulls(Section pSection,
PropertySet pPropertySet)
- Check if pSection or pPropertySet are null.
If so, return a reasonable Section object.
If not, return null (this is the expected result!)
Copyright © 2000-2002 Richard Rodger