|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object ar.com.epere4.java2excel.parser.impl.BodyDtdImpl
public class BodyDtdImpl
Field Summary | |
---|---|
static java.lang.Class[] |
DEFAULT_TYPES_TO_EXCLUDE_IN_AUTO_COMPLETE
This is the default value for getTypesToExcludeInAutoComplete() . |
Constructor Summary | |
---|---|
BodyDtdImpl()
|
Method Summary | |
---|---|
void |
addProperty(PropertyDtd property)
Adds a property to this instance. |
void |
addTypesToExcludeInAutoComplete(java.lang.Class[] typesToAdd)
Adds the specified types to what getTypesToExcludeInAutoComplete() will return. |
void |
completeProperties(java.lang.Class beanClass)
If BodyDtd.getIncludeExtraLevel() returns a value greater than -1, it
will add properties to this instances
that will be obtained by reflection from the beanClass. |
int |
getIncludeExtraLevel()
|
java.lang.Class[] |
getTypesToExcludeInAutoComplete()
These represents the classes or interfaces to exclude in the completeProperties(Class) method. |
java.util.Iterator |
propertiesIterator()
|
void |
setIncludeExtraLevel(int includeExtraLevel)
|
void |
setTypesToExcludeInAutoComplete(java.lang.Class[] typesToExcludeInAutoComplete)
|
java.lang.String |
toString()
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
---|
public static final java.lang.Class[] DEFAULT_TYPES_TO_EXCLUDE_IN_AUTO_COMPLETE
getTypesToExcludeInAutoComplete()
.
Constructor Detail |
---|
public BodyDtdImpl()
Method Detail |
---|
public void addProperty(PropertyDtd property)
PropertyDtd.getExpression()
. If a similar property is added, it
should overwrite the previous one.
addProperty
in interface BodyDtd
property
- the PropertyDtd
to be added. These are the
properties that will be returned by BodyDtd.propertiesIterator()
.BodyDtd.addProperty(PropertyDtd)
public java.util.Iterator propertiesIterator()
propertiesIterator
in interface BodyDtd
Iterator
of
PropertyDtd
.BodyDtd.propertiesIterator()
public java.lang.String toString()
toString
in class java.lang.Object
Object.toString()
public int getIncludeExtraLevel()
getIncludeExtraLevel
in interface BodyDtd
BodyDtd.getIncludeExtraLevel()
public void setIncludeExtraLevel(int includeExtraLevel)
includeExtraLevel
- The includeExtraLevel to set.public void completeProperties(java.lang.Class beanClass)
BodyDtd.getIncludeExtraLevel()
returns a value greater than -1, it
will add properties
to this instances
that will be obtained by reflection from the beanClass. The beanClass
will be search by reflection for properties up to the
configured level
. See the
comments in the dtd, for more details.
After using this method, BodyDtd.getIncludeExtraLevel()
will return -1;
completeProperties
in interface BodyDtd
beanClass
- the class where properties will be read from.#completeProperties(java.lang.Class)
public java.lang.Class[] getTypesToExcludeInAutoComplete()
completeProperties(Class)
method.
Properties of this types will not be followed.
public void setTypesToExcludeInAutoComplete(java.lang.Class[] typesToExcludeInAutoComplete)
typesToExcludeInAutoComplete
- The typesToExcludeInAutoComplete to set.getTypesToExcludeInAutoComplete()
public void addTypesToExcludeInAutoComplete(java.lang.Class[] typesToAdd)
getTypesToExcludeInAutoComplete()
will return.
typesToAdd
- the types to add.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |