Class GlobalAttribute

java.lang.Object
org.dlese.dpc.xml.schema.GlobalDeclaration
org.dlese.dpc.xml.schema.GlobalAttribute
All Implemented Interfaces:
GlobalDef

public class GlobalAttribute extends GlobalDeclaration
Wrapper for global attribute definitions in an XML Schema, which are defined as an immediate child of the schema element.

Global element definitions have an XPath of the form "/<xsd:schema/<xsd:attribute ...>", where the "xsd" prefix refers to a prefix that is mapped to the W3C Schema for Datatype Definitions (having a namespace uri of "http://www.w3.org/2001/XMLSchema").

GlobalAttribute definitions are associated with a type in one of the following ways:

  • via a "type" attribute,
  • via a "ref" attribute
  • via an in-line simple type definition
Version:
$Id: GlobalAttribute.java,v 1.3 2009/03/20 23:34:01 jweather Exp $
Author:
Jonathan Ostwald
  • Constructor Details

    • GlobalAttribute

      public GlobalAttribute(org.dom4j.Element element, String location, org.dom4j.Namespace namespace, SchemaReader schemaReader)
      Constructor for the GlobalAttribute object
      Parameters:
      element - NOT YET DOCUMENTED
      location - NOT YET DOCUMENTED
      namespace - NOT YET DOCUMENTED
  • Method Details