org.deegree.feature.persistence.sql.mapper
Class XPathSchemaWalker

java.lang.Object
  extended by org.deegree.feature.persistence.sql.mapper.XPathSchemaWalker

public class XPathSchemaWalker
extends Object

Helper class for determining the element declarations / primitive types targeted by mapping expressions. TODO Where should this functionality go in the end?

Version:
$Revision: 32156 $, $Date: 2011-10-18 18:49:59 +0200 (Tue, 18 Oct 2011) $
Author:
Markus Schneider, last edited by: $Author: mschneider $

Constructor Summary
XPathSchemaWalker(AppSchema appSchema, NamespaceBindings nsBindings)
           
 
Method Summary
 Pair<org.apache.xerces.xs.XSElementDeclaration,Boolean> getTargetElement(Pair<org.apache.xerces.xs.XSElementDeclaration,Boolean> context, ValueReference propName)
           
 Pair<PrimitiveType,Boolean> getTargetType(Pair<org.apache.xerces.xs.XSElementDeclaration,Boolean> context, ValueReference propName)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

XPathSchemaWalker

public XPathSchemaWalker(AppSchema appSchema,
                         NamespaceBindings nsBindings)
Method Detail

getTargetElement

public Pair<org.apache.xerces.xs.XSElementDeclaration,Boolean> getTargetElement(Pair<org.apache.xerces.xs.XSElementDeclaration,Boolean> context,
                                                                                ValueReference propName)

getTargetType

public Pair<PrimitiveType,Boolean> getTargetType(Pair<org.apache.xerces.xs.XSElementDeclaration,Boolean> context,
                                                 ValueReference propName)


Copyright © 2011. All Rights Reserved.