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 class
NodeSyntax.SyntaxHeading
This enum contains all table header row label of all syntax
-
Field Summary
Fields Modifier and Type Field Description protected Boolean
mIsXml
protected MisMatch[]
mMisMatches
protected String
mPath
protected String
mRules
protected NodeSemantic
mSemanticParent
-
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 StringBuilder
addSpecificString(StringBuilder syntax)
abstract String
getCardinality()
MisMatch[]
getMisMatches()
String
getPath()
String
getRules()
NodeSemantic
getSemanticNode()
void
setMisMatch(String match)
void
setPath(String xpath)
void
setRules(String rules)
String
toString()
String
toSubString()
-
-
-
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()
-
-