Modifier and Type | Field and Description |
---|---|
protected java.util.Map<java.lang.Object,java.lang.Integer> |
arrayinfos
The map or array information.
|
protected java.lang.Object |
callcontext
The call context.
|
protected MultiCollection<java.lang.Object,LinkData> |
children
The map of objects to link in bulk mode (object -> map of tags -> objects per tag).
|
protected java.lang.ClassLoader |
classloader
The classloader.
|
protected java.lang.String |
comment
The current comment.
|
protected IObjectReaderHandler |
defaulthandler
The default object handler.
|
protected IXMLReader |
parser
The parser.
|
protected TypeInfoPathManager |
pathmanager
The type info path manager.
|
protected MultiCollection<java.lang.Integer,IPostProcessorCall> |
postprocessors
The post processors.
|
protected int |
readignore
The readignore counter (0=do not ignore).
|
protected java.util.Map<java.lang.String,java.lang.Object> |
readobjects
The read objects per id.
|
protected XMLReporter |
reporter
The parser.
|
protected java.lang.Object |
rootobject
The root object.
|
protected java.util.List<StackElement> |
stack
The stack.
|
Constructor and Description |
---|
AReadContext(TypeInfoPathManager pathmanager,
IObjectReaderHandler handler,
IXMLReader parser,
XMLReporter reporter,
java.lang.Object callcontext,
java.lang.ClassLoader classloader) |
AReadContext(TypeInfoPathManager pathmanager,
IObjectReaderHandler handler,
IXMLReader parser,
XMLReporter reporter,
java.lang.Object callcontext,
java.lang.ClassLoader classloader,
java.lang.Object root,
java.util.List<StackElement> stack,
StackElement topse,
java.lang.String comment,
java.util.Map<java.lang.String,java.lang.Object> readobjects,
int readignore,
MultiCollection<java.lang.Integer,IPostProcessorCall> postprocessors)
Create a new read context.
|
Modifier and Type | Method and Description |
---|---|
void |
addChild(java.lang.Object key,
LinkData value)
Add a child.
|
void |
addStackElement(StackElement elem) |
int |
getArrayCount(java.lang.Object parent)
Get the current array counter.
|
java.util.List<LinkData> |
getChildren(java.lang.Object key)
Get children.
|
java.lang.ClassLoader |
getClassLoader()
Get the classloader.
|
java.lang.String |
getComment()
Get the comment.
|
IObjectReaderHandler |
getDefaultHandler()
Get the defaulthandler.
|
ILocation |
getLocation() |
IXMLReader |
getParser()
Get the parser.
|
TypeInfoPathManager |
getPathManager()
Get the pathManager.
|
MultiCollection<java.lang.Integer,IPostProcessorCall> |
getPostProcessors()
Get the postprocessors.
|
int |
getReadIgnore()
Get the readignore.
|
java.util.Map<java.lang.String,java.lang.Object> |
getReadObjects()
Get the readobjects.
|
XMLReporter |
getReporter()
Get the reporter.
|
java.lang.Object |
getRootObject()
Get the root object.
|
StackElement[] |
getStack() |
StackElement |
getStackElement(int pos)
Get stack element.
|
int |
getStackSize() |
StackElement |
getTopStackElement()
Get the top stack element.
|
java.lang.Object |
getUserContext()
Get the callcontext.
|
protected QName[] |
getXMLPath()
Get the xml path for a stack.
|
QName[] |
getXMLPath(QName tag)
Get the xml path for a stack.
|
java.util.List<LinkData> |
removeChildren(java.lang.Object key)
Remove a child.
|
void |
removeStackElement() |
void |
setCallContext(java.lang.Object callcontext)
Set the callcontext.
|
void |
setClassLoader(java.lang.ClassLoader classloader)
Set the classloader.
|
void |
setComment(java.lang.String comment)
Set the comment.
|
void |
setPostProcessors(MultiCollection<java.lang.Integer,IPostProcessorCall> postprocessors)
Set the postprocessors.
|
void |
setReadIgnore(int readignore)
Set the readignore.
|
void |
setReadObjects(java.util.Map<java.lang.String,java.lang.Object> readobjects)
Set the readobjects.
|
void |
setStackElement(StackElement elem,
int pos) |
protected TypeInfoPathManager pathmanager
protected IObjectReaderHandler defaulthandler
protected IXMLReader parser
protected XMLReporter reporter
protected java.lang.ClassLoader classloader
protected java.lang.Object rootobject
protected java.util.List<StackElement> stack
protected java.lang.String comment
protected java.util.Map<java.lang.String,java.lang.Object> readobjects
protected int readignore
protected java.lang.Object callcontext
protected MultiCollection<java.lang.Integer,IPostProcessorCall> postprocessors
protected java.util.Map<java.lang.Object,java.lang.Integer> arrayinfos
protected MultiCollection<java.lang.Object,LinkData> children
public AReadContext(TypeInfoPathManager pathmanager, IObjectReaderHandler handler, IXMLReader parser, XMLReporter reporter, java.lang.Object callcontext, java.lang.ClassLoader classloader)
parser
- public AReadContext(TypeInfoPathManager pathmanager, IObjectReaderHandler handler, IXMLReader parser, XMLReporter reporter, java.lang.Object callcontext, java.lang.ClassLoader classloader, java.lang.Object root, java.util.List<StackElement> stack, StackElement topse, java.lang.String comment, java.util.Map<java.lang.String,java.lang.Object> readobjects, int readignore, MultiCollection<java.lang.Integer,IPostProcessorCall> postprocessors)
parser
- root
- stack
- topse
- comment
- readobjects
- public IXMLReader getParser()
public TypeInfoPathManager getPathManager()
public IObjectReaderHandler getDefaultHandler()
public XMLReporter getReporter()
public java.lang.Object getRootObject()
getRootObject
in interface IContext
public StackElement getStackElement(int pos)
public StackElement getTopStackElement()
public void addStackElement(StackElement elem)
public void setStackElement(StackElement elem, int pos)
public void removeStackElement()
public int getStackSize()
public java.lang.String getComment()
public void setComment(java.lang.String comment)
comment
- The comment to set.public java.util.Map<java.lang.String,java.lang.Object> getReadObjects()
public void setReadObjects(java.util.Map<java.lang.String,java.lang.Object> readobjects)
readobjects
- The readobjects to set.public int getReadIgnore()
public void setReadIgnore(int readignore)
readignore
- The readignore to set.public java.lang.Object getUserContext()
getUserContext
in interface IContext
public void setCallContext(java.lang.Object callcontext)
callcontext
- The callcontext to set.public java.lang.ClassLoader getClassLoader()
getClassLoader
in interface IContext
public void setClassLoader(java.lang.ClassLoader classloader)
classloader
- The classloader to set.public MultiCollection<java.lang.Integer,IPostProcessorCall> getPostProcessors()
public void setPostProcessors(MultiCollection<java.lang.Integer,IPostProcessorCall> postprocessors)
postprocessors
- The postprocessors to set.public int getArrayCount(java.lang.Object parent)
public java.util.List<LinkData> getChildren(java.lang.Object key)
public void addChild(java.lang.Object key, LinkData value)
public java.util.List<LinkData> removeChildren(java.lang.Object key)
public QName[] getXMLPath(QName tag)
stack
- The stack.protected QName[] getXMLPath()
stack
- The stack.public StackElement[] getStack()
public ILocation getLocation()