Class CMRelaxNGElementDeclarationCollector
java.lang.Object
com.thaiopensource.relaxng.pattern.AbstractCMRelaxNGCollector
com.thaiopensource.relaxng.pattern.CMRelaxNGElementDeclarationCollector
RelaxNG class used to collect content model elements children for a given
ElementPatter.
NOTE : this class is hosted in 'com.thaiopensource.relaxng.pattern' because
Pattern implementation like ElementPattern are not public.
Once https://github.com/relaxng/jing-trang/issues/271 will be fixed we could
move this class in 'org.eclipse.lemminx.extensions.relaxng.contentmodel'
package.
- Author:
- Angelo ZERR
-
Constructor Summary
ConstructorsConstructorDescriptionCMRelaxNGElementDeclarationCollector(CMRelaxNGDocument document, com.thaiopensource.relaxng.pattern.Pattern pattern) -
Method Summary
Modifier and TypeMethodDescriptioncom.thaiopensource.util.VoidValuecaseData(com.thaiopensource.relaxng.pattern.DataPattern arg0) com.thaiopensource.util.VoidValuecaseDataExcept(com.thaiopensource.relaxng.pattern.DataExceptPattern arg0) com.thaiopensource.util.VoidValuecaseElement(com.thaiopensource.relaxng.pattern.ElementPattern p) com.thaiopensource.util.VoidValuecaseEmpty(com.thaiopensource.relaxng.pattern.EmptyPattern arg0) com.thaiopensource.util.VoidValuecaseError(com.thaiopensource.relaxng.pattern.ErrorPattern arg0) com.thaiopensource.util.VoidValuecaseList(com.thaiopensource.relaxng.pattern.ListPattern arg0) com.thaiopensource.util.VoidValuecaseNotAllowed(com.thaiopensource.relaxng.pattern.NotAllowedPattern arg0) com.thaiopensource.util.VoidValuecaseRef(com.thaiopensource.relaxng.pattern.RefPattern arg0) com.thaiopensource.util.VoidValuecaseText(com.thaiopensource.relaxng.pattern.TextPattern arg0) com.thaiopensource.util.VoidValuecaseValue(com.thaiopensource.relaxng.pattern.ValuePattern arg0) Methods inherited from class com.thaiopensource.relaxng.pattern.AbstractCMRelaxNGCollector
caseAfter, caseAttribute, caseBinary, caseChoice, caseGroup, caseInterleave, caseOneOrMore, caseOther
-
Constructor Details
-
CMRelaxNGElementDeclarationCollector
public CMRelaxNGElementDeclarationCollector(CMRelaxNGDocument document, com.thaiopensource.relaxng.pattern.Pattern pattern)
-
-
Method Details
-
caseElement
public com.thaiopensource.util.VoidValue caseElement(com.thaiopensource.relaxng.pattern.ElementPattern p) - Overrides:
caseElementin classAbstractCMRelaxNGCollector
-
getElements
-
caseEmpty
public com.thaiopensource.util.VoidValue caseEmpty(com.thaiopensource.relaxng.pattern.EmptyPattern arg0) -
caseNotAllowed
public com.thaiopensource.util.VoidValue caseNotAllowed(com.thaiopensource.relaxng.pattern.NotAllowedPattern arg0) -
caseError
public com.thaiopensource.util.VoidValue caseError(com.thaiopensource.relaxng.pattern.ErrorPattern arg0) -
caseData
public com.thaiopensource.util.VoidValue caseData(com.thaiopensource.relaxng.pattern.DataPattern arg0) -
caseDataExcept
public com.thaiopensource.util.VoidValue caseDataExcept(com.thaiopensource.relaxng.pattern.DataExceptPattern arg0) -
caseValue
public com.thaiopensource.util.VoidValue caseValue(com.thaiopensource.relaxng.pattern.ValuePattern arg0) -
caseText
public com.thaiopensource.util.VoidValue caseText(com.thaiopensource.relaxng.pattern.TextPattern arg0) -
caseList
public com.thaiopensource.util.VoidValue caseList(com.thaiopensource.relaxng.pattern.ListPattern arg0) -
caseRef
public com.thaiopensource.util.VoidValue caseRef(com.thaiopensource.relaxng.pattern.RefPattern arg0)
-