org.eclipse.jpt.jaxb.core.xsd
Class XsdAttributeDeclaration
java.lang.Object
org.eclipse.emf.common.notify.impl.AdapterImpl
org.eclipse.jpt.jaxb.core.xsd.XsdComponent<A>
org.eclipse.jpt.jaxb.core.xsd.XsdFeature<org.eclipse.xsd.XSDAttributeDeclaration>
org.eclipse.jpt.jaxb.core.xsd.XsdAttributeDeclaration
- All Implemented Interfaces:
- Adapter, Adapter.Internal
public class XsdAttributeDeclaration
- extends XsdFeature<org.eclipse.xsd.XSDAttributeDeclaration>
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
getType
public XsdTypeDefinition getType()
- Specified by:
getType in class XsdFeature<org.eclipse.xsd.XSDAttributeDeclaration>
typeIsValid
public boolean typeIsValid(XsdTypeDefinition xsdType,
boolean isItemType)
- Description copied from class:
XsdFeature
- Return whether the given schema type is valid within the feature
- Specified by:
typeIsValid in class XsdFeature<org.eclipse.xsd.XSDAttributeDeclaration>
isItemType - determines whether the xsdType should instead be treated as an item type
within a list
Copyright (c) 2012 Oracle. All rights reserved.