org.jboss.xb.binding.sunday.unmarshalling
Class SchemaBinding
java.lang.Object
org.jboss.xb.binding.sunday.unmarshalling.SchemaBinding
public class SchemaBinding
- extends Object
- Version:
- $Revision: 1.1.2.5 $
- Author:
- Alexey Loubyansky
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
SchemaBinding
public SchemaBinding()
getType
public TypeBinding getType(javax.xml.namespace.QName qName)
addType
public void addType(TypeBinding type)
getElement
public ElementBinding getElement(javax.xml.namespace.QName name)
addElement
public void addElement(javax.xml.namespace.QName qName,
ElementBinding element)
addElement
public ElementBinding addElement(javax.xml.namespace.QName name,
TypeBinding type)
getPackageMetaData
public PackageMetaData getPackageMetaData()
setPackageMetaData
public void setPackageMetaData(PackageMetaData packageMetaData)
getSchemaResolver
public SchemaBindingResolver getSchemaResolver()
setSchemaResolver
public void setSchemaResolver(SchemaBindingResolver schemaResolver)
isStrictSchema
public boolean isStrictSchema()
setStrictSchema
public void setStrictSchema(boolean strictSchema)
- If strict-schema is true then all the elements and attributes in XML content being parsed must be bound
in this instance of SchemaBinding (except attributes from xmlns and xsi namespaces),
otherwise a runtime exception is thrown. The default value for this property is true.
isIgnoreUnresolvedFieldOrClass
public boolean isIgnoreUnresolvedFieldOrClass()
setIgnoreUnresolvedFieldOrClass
public void setIgnoreUnresolvedFieldOrClass(boolean ignoreUnresolvedFieldOrClass)
- If a field is not found in the parent class to set child value on or
a class an element is bound to
an exception will be thrown if this property is false. Otherwise,
the process will just go on (the default for now).
isReplacePropertyRefs
public boolean isReplacePropertyRefs()
setReplacePropertyRefs
public void setReplacePropertyRefs(boolean flag)
- Parameters:
flag
-
isIgnoreLowLine
public boolean isIgnoreLowLine()
setIgnoreLowLine
public void setIgnoreLowLine(boolean ignoreLowLine)
- Where '_' should be considered as a word separator or a part of the Java identifier
when mapping XML names to Java identifiers.
Copyright © 2002 JBoss Group, LLC. All Rights Reserved.