org.jibx.schema.attributes
Class TypeAttribute

java.lang.Object
  extended by org.jibx.schema.attributes.AttributeBase
      extended by org.jibx.schema.attributes.TypeAttribute
All Implemented Interfaces:
IComponent

public class TypeAttribute
extends AttributeBase

Global type reference as an attribute.

Author:
Dennis M. Sosnoski

Field Summary
static StringArray s_allowedAttributes
          List of allowed attribute names.
 
Fields inherited from interface org.jibx.schema.IComponent
SCHEMA_NAMESPACE
 
Constructor Summary
TypeAttribute(SchemaBase owner)
          Constructor.
 
Method Summary
 QName getType()
          Get type qualified name.
 void setType(QName qname)
          Set type qualified name.
 
Methods inherited from class org.jibx.schema.attributes.AttributeBase
getOwner, prevalidate, validate
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

s_allowedAttributes

public static final StringArray s_allowedAttributes
List of allowed attribute names.

Constructor Detail

TypeAttribute

public TypeAttribute(SchemaBase owner)
Constructor.

Parameters:
owner - owning element
Method Detail

getType

public QName getType()
Get type qualified name.

Returns:
type qualified name

setType

public void setType(QName qname)
Set type qualified name.

Parameters:
qname - type qualified name


Copyright © 2005-2012 jibx.org. All Rights Reserved.