oracle.xml.parser.schema
Class XSDAttribute

oracle.xml.parser.schema.XSDNode
  |
  +--oracle.xml.parser.schema.XSDAttribute

public class XSDAttribute
extends XSDNode

XSDAttribute class. Represents XMLSchema


Method Summary
 java.lang.String getDefaultVal()
          Get the value of 'default' attr in case of element, and the value of 'value' attr based on 'use' attribute
 java.lang.String getFixedVal()
          Get the value of 'fixed' attr in case of element, and the value of 'value' attr based on 'use' attribute
 java.lang.String getName()
          Get the name of the node
 java.lang.String getRefLocalname()
          Get the local name of the resolved 'ref' attribute
 java.lang.String getRefNamespace()
          Get the namespace of the resolved 'ref' attribute
 int getRefState()
          Get refState.
 java.lang.String getTargetNS()
          Get target namespace
 XSDNode getType()
          Get the node type
 boolean isRequired()
          Check if the attribute is required
 
Methods inherited from class oracle.xml.parser.schema.XSDNode
getAnnotation, getNamespaceURI, getNodeType, isNodeType
 

Method Detail

getRefState

public int getRefState()
Get refState. The return value is one of the following: TYPE_UNRESOLVED, TYPE_RESOLVED, REF_UNRESOLVED, REF_RESOLVED
Returns:
refstate value

getDefaultVal

public java.lang.String getDefaultVal()
Get the value of 'default' attr in case of element, and the value of 'value' attr based on 'use' attribute
Returns:
defalutVal

getFixedVal

public java.lang.String getFixedVal()
Get the value of 'fixed' attr in case of element, and the value of 'value' attr based on 'use' attribute
Returns:
defalutVal

getName

public java.lang.String getName()
Get the name of the node
Overrides:
getName in class XSDNode
Returns:
name

getRefNamespace

public java.lang.String getRefNamespace()
Get the namespace of the resolved 'ref' attribute
Returns:
refNamespace

getRefLocalname

public java.lang.String getRefLocalname()
Get the local name of the resolved 'ref' attribute
Returns:
refLocalname

getTargetNS

public java.lang.String getTargetNS()
Get target namespace
Overrides:
getTargetNS in class XSDNode
Tags copied from class: XSDNode
Returns:
tagetNS

isRequired

public boolean isRequired()
Check if the attribute is required

getType

public XSDNode getType()
Get the node type
Returns:
nodeType which is either simpleTypeor complexType


 

Copyright © 1997, 2004, Oracle. All rights reserved.