Package org.cip4.jdflib.extensions
Class XJDFSchemaPrune
- java.lang.Object
-
- org.cip4.jdflib.extensions.XJDFSchemaPrune
-
public class XJDFSchemaPrune extends java.lang.Objectthe old implementattion was obsolete this implementation extracts more data from the xml schema that can be injected into the json schema
-
-
Constructor Summary
Constructors Constructor Description XJDFSchemaPrune(XMLDoc rootSchema)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanisCheckAttributes()booleanisRemoveForeign()KElementprune(KElement... examples)KElementprune(BaseXJDFHelper... examples)voidsetCheckAttributes(boolean checkAttributes)voidsetRemoveForeign(boolean removeForeign)java.lang.StringtoString()
-
-
-
Constructor Detail
-
XJDFSchemaPrune
public XJDFSchemaPrune(XMLDoc rootSchema)
-
-
Method Detail
-
isRemoveForeign
public boolean isRemoveForeign()
-
setRemoveForeign
public void setRemoveForeign(boolean removeForeign)
-
prune
public KElement prune(BaseXJDFHelper... examples)
-
isCheckAttributes
public boolean isCheckAttributes()
-
setCheckAttributes
public void setCheckAttributes(boolean checkAttributes)
-
toString
public java.lang.String toString()
- Overrides:
toStringin classjava.lang.Object
-
-