public class SubtreeSpecificationParser extends Object
Constructor and Description |
---|
SubtreeSpecificationParser(NormalizerMappingResolver resolver,
SchemaManager schemaManager)
Creates a normalizing subtree specification parser.
|
SubtreeSpecificationParser(SchemaManager schemaManager)
Creates a subtree specification parser.
|
Modifier and Type | Method and Description |
---|---|
boolean |
isNormizing()
Tests to see if this parser is normalizing.
|
SubtreeSpecification |
parse(String spec)
Parses a subtree specification without exhausting the parser.
|
public SubtreeSpecificationParser(SchemaManager schemaManager)
schemaManager
- The SchemaManagerpublic SubtreeSpecificationParser(NormalizerMappingResolver resolver, SchemaManager schemaManager)
resolver
- The resolver to useschemaManager
- The SchemaManagerpublic SubtreeSpecification parse(String spec) throws ParseException
spec
- the specification to be parsedParseException
- if there are any recognition errors (bad syntax)public boolean isNormizing()
Copyright © 2003–2020 The Apache Software Foundation. All rights reserved.