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 processElementEnd()
          Process the element end tag
 void processElementStart(String localName, AttributeCollection attributes)
          Process an element start tag together with its attributes
 
Methods inherited from class java.lang.Object
clone, equals, finalize, 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

processElementStart

public void processElementStart(String localName,
                                AttributeCollection attributes)
                         throws SchemaException
Process an element start tag 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

processElementEnd

public void processElementEnd()
Process the element end tag



Copyright (c) 2004-2010 Saxonica Limited. All rights reserved.