An implementation of SchemaRestrictions where the restrictions are not
retrieved from the schema but hard coded inside the class.
author: Gregory Lapouchnian author: Patrick Smith
Constructor Summary
public
HCSchemaRestrictions(int documentType) Create a new hard coded schema restriction.
Returns the element restrictions for the given element name.
Parameters: name - the name of the element to return the restrictions the element restrictions for the element.
hasElementRestrictions
public boolean hasElementRestrictions(String name)(Code)
Returns if there is an element restriction for the given name.
Parameters: name - the name of the element to check true if name has a restriction.