com.saxonica.schema
Class SchemaModelLoader.SelectorHandler

java.lang.Object
  extended by com.saxonica.schema.SchemaModelLoader.SelectorHandler
Enclosing class:
SchemaModelLoader

public class SchemaModelLoader.SelectorHandler
extends Object

Handle a selector or field within an identity constraint (key, keyref, unique)


Constructor Summary
SchemaModelLoader.SelectorHandler(IdentityConstraint identityConstraint)
          Create a SelectorHandler for a given IdentityConstraint
 
Method Summary
 com.saxonica.schema.SchemaModelLoader.SCMNodeHandler handleChildElement(String localName)
          Handle a child element of the element currently being processed.
 void processElement(String localName, AttributeCollection attributes)
          Process an element together with its attributes
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SchemaModelLoader.SelectorHandler

public SchemaModelLoader.SelectorHandler(IdentityConstraint identityConstraint)
Create a SelectorHandler for a given IdentityConstraint

Parameters:
identityConstraint - the constraint
Method Detail

handleChildElement

public com.saxonica.schema.SchemaModelLoader.SCMNodeHandler handleChildElement(String localName)
                                                                        throws SchemaException
Handle a child element of the element currently being processed.

Parameters:
localName - the local name of the child element
Returns:
an SCMNodeHandler which will be used to process the child element
Throws:
SchemaException - if the data is invalid

processElement

public void processElement(String localName,
                           AttributeCollection attributes)
                    throws SchemaException
Process an element together with its attributes

Parameters:
localName - the name of the element to be processed
attributes - the attributes of the element being processed
Throws:
SchemaException - if the data is invalid


Copyright (C) Michael H. Kay. All rights reserved.