Class PythonXmlTokenBuilder
- java.lang.Object
-
- org.orekit.files.ccsds.utils.lexical.PythonXmlTokenBuilder
-
- All Implemented Interfaces:
XmlTokenBuilder
public class PythonXmlTokenBuilder extends Object implements XmlTokenBuilder
-
-
Field Summary
Fields Modifier and Type Field Description protected long
pythonObject
Part of JCC Python interface to object
-
Constructor Summary
Constructors Constructor Description PythonXmlTokenBuilder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description List<ParseToken>
buildTokens(boolean startTag, boolean isLeaf, String qName, String content, Map<String,String> attributes, int lineNumber, String fileName)
Create a list of parse tokens.void
finalize()
void
pythonDecRef()
long
pythonExtension()
void
pythonExtension(long pythonObject)
-
-
-
Method Detail
-
pythonExtension
public void pythonExtension(long pythonObject)
-
pythonExtension
public long pythonExtension()
-
finalize
public void finalize() throws Throwable
-
pythonDecRef
public void pythonDecRef()
-
buildTokens
public List<ParseToken> buildTokens(boolean startTag, boolean isLeaf, String qName, String content, Map<String,String> attributes, int lineNumber, String fileName)
Create a list of parse tokens.- Specified by:
buildTokens
in interfaceXmlTokenBuilder
- Parameters:
startTag
- if true we are parsing the start tag from an XML elementisLeaf
- if true and startTag is false, we are processing the end tag of a leaf XML elementqName
- element qualified namecontent
- element contentattributes
- element attributeslineNumber
- number of the line in the CCSDS data messagefileName
- name of the file- Returns:
- list of parse tokens
-
-