com.saxonica.schema
Class SchemaModelLoader.IdentityConstraintHandler

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

public class SchemaModelLoader.IdentityConstraintHandler
extends Object

Handle an identity constraint (key, keyref, unique)


Constructor Summary
SchemaModelLoader.IdentityConstraintHandler(ElementDecl decl)
          Create an IdentityConstraintHandler for a given element declaration
 
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.IdentityConstraintHandler

public SchemaModelLoader.IdentityConstraintHandler(ElementDecl decl)
Create an IdentityConstraintHandler for a given element declaration

Parameters:
decl - the element declaration
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.