public class UserDefinedXmlTokenBuilder extends Object implements XmlTokenBuilder
User-defined elements are of the form:
<USER_DEFINED parameter="SOME_PARAMETER_NAME">value</USER_DEFINED>
This token builder will generate a single
parse token from this root element with name set to
"SOME_PARAMETER_NAME", type set to TokenType.ENTRY and content
set to value.
| Constructor and Description |
|---|
UserDefinedXmlTokenBuilder() |
| 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 XmlTokenBuilderstartTag - 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-2021 CS GROUP. All rights reserved.