Package de.prototypefund.en16931
Class NodeSyntax
- java.lang.Object
-
- de.prototypefund.en16931.NodeSyntax
-
- Direct Known Subclasses:
NodeEdifact,NodeXml
public abstract class NodeSyntax extends Object
Represents a syntax node representing the Semantic in the file format. In general, XML nodes, but might be EDIFACT as well.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classNodeSyntax.SyntaxHeadingThis enum contains all table header row label of all syntax
-
Field Summary
Fields Modifier and Type Field Description protected BooleanmIsXmlprotected MisMatch[]mMisMatchesprotected StringmPathprotected StringmRulesprotected NodeSemanticmSemanticParent
-
Constructor Summary
Constructors Constructor Description NodeSyntax(String path, NodeSemantic semanticParent, Boolean isXml)
-
Method Summary
All Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description protected abstract StringBuilderaddSpecificString(StringBuilder syntax)abstract StringgetCardinality()MisMatch[]getMisMatches()StringgetPath()StringgetRules()NodeSemanticgetSemanticNode()voidsetMisMatch(String match)voidsetPath(String xpath)voidsetRules(String rules)StringtoString()StringtoSubString()
-
-
-
Field Detail
-
mSemanticParent
protected NodeSemantic mSemanticParent
-
mPath
protected String mPath
-
mMisMatches
protected MisMatch[] mMisMatches
-
mRules
protected String mRules
-
mIsXml
protected Boolean mIsXml
-
-
Constructor Detail
-
NodeSyntax
public NodeSyntax(String path, NodeSemantic semanticParent, Boolean isXml)
-
-
Method Detail
-
getCardinality
public abstract String getCardinality()
-
getSemanticNode
public NodeSemantic getSemanticNode()
-
getMisMatches
public MisMatch[] getMisMatches()
-
setMisMatch
public void setMisMatch(String match)
-
getRules
public String getRules()
-
setRules
public void setRules(String rules)
-
setPath
public void setPath(String xpath)
-
getPath
public String getPath()
-
addSpecificString
protected abstract StringBuilder addSpecificString(StringBuilder syntax)
-
toSubString
public String toSubString()
-
-