public class RegularXmlTokenBuilder extends Object implements XmlTokenBuilder
Each tag generates exactly one token, either a START
,
or STOP
token without content for non-leaf elements,
or a ENTRY
token with content for leaf elements.
Constructor and Description |
---|
RegularXmlTokenBuilder()
Simple constructor.
|
Modifier and Type | Method and Description |
---|---|
List<ParseToken> |
buildTokens(boolean startTag,
String qName,
String content,
Attributes attributes,
int lineNumber,
String fileName)
Create a list of parse tokens.
|
public List<ParseToken> buildTokens(boolean startTag, String qName, String content, Attributes attributes, int lineNumber, String fileName)
buildTokens
in interface XmlTokenBuilder
startTag
- if true we are parsing the start tag from an XML elementqName
- element qualified namecontent
- element contentattributes
- element attributeslineNumber
- number of the line in the CCSDS data messagefileName
- name of the fileCopyright © 2002-2022 CS GROUP. All rights reserved.