public final class NdfStructure extends DumpableObject
| Type | Property and Description |
|---|---|
boolean |
is |
| Constructor and Description |
|---|
NdfStructure(NdfStructure parent,
int nestingLevel,
NdfStructureType type,
java.lang.String name,
int lineNumber) |
| Modifier and Type | Method and Description |
|---|---|
void |
clearReference()
Clears the current object reference that was previously set by
setReference(Object). |
boolean |
equals(java.lang.Object obj) |
java.lang.String |
getInfo() |
int |
getLineNumber() |
java.lang.String |
getName() |
int |
getNestingLevel() |
NdfStructure |
getParent() |
java.lang.String |
getPath() |
<T> T |
getReference()
Returns the current object reference that was previously set by
setReference(Object). |
<T> T |
getReferenceByName(java.lang.String name)
Searches up the stack to find the named structure and returns the
reference that was previously set by
setReference(Object). |
NdfStructureType |
getType() |
int |
hashCode() |
boolean |
isArray() |
boolean |
isClosed() |
boolean |
isDocument() |
boolean |
isObject() |
boolean |
isOpened() |
boolean |
isProperty() |
boolean |
isRoot() |
boolean |
isTable() |
void |
setReference(java.lang.Object currentRef)
Set a current object reference that should collect the read data.
|
DumpString |
toDumpString(DumpString s)
This method allows subclasses to add values to the existing DumpString of the superclass.
|
ToString |
toString(ToString s)
This method allows subclasses to add values to the existing ToString of the superclass.
|
configureDumpHeadlineLength, configureDumpMaxElementsPrinted, copyDumpStringValues, copyToStringValues, createDumpHeader, toDumpString, toStringpublic NdfStructure(NdfStructure parent, int nestingLevel, NdfStructureType type, java.lang.String name, int lineNumber)
public void setReference(java.lang.Object currentRef)
public <T> T getReference()
setReference(Object).public <T> T getReferenceByName(java.lang.String name)
setReference(Object).public void clearReference()
setReference(Object).public NdfStructure getParent()
public NdfStructureType getType()
public java.lang.String getName()
public java.lang.String getPath()
public int getNestingLevel()
public int getLineNumber()
public boolean isRoot()
public boolean isOpened()
public boolean isClosed()
public boolean isDocument()
public boolean isObject()
public boolean isTable()
public boolean isArray()
public boolean isProperty()
public boolean equals(java.lang.Object obj)
equals in class java.lang.Objectpublic int hashCode()
hashCode in class java.lang.Objectpublic java.lang.String getInfo()
public ToString toString(ToString s)
DumpabletoString in interface DumpabletoString in class DumpableObjectpublic DumpString toDumpString(DumpString s)
DumpabletoDumpString in interface DumpabletoDumpString in class DumpableObjectCopyright © 2014 EsprIT-Systems. All Rights Reserved.