Package org.apache.ws.commons.schema
Class XmlSchemaNotation
java.lang.Object
org.apache.ws.commons.schema.XmlSchemaObject
org.apache.ws.commons.schema.XmlSchemaAnnotated
org.apache.ws.commons.schema.XmlSchemaNotation
- All Implemented Interfaces:
XmlSchemaNamed,XmlSchemaObjectBase
Class represents a notation. An XML Schema definition language (XSD) notation declaration is a
reconstruction of XML 1.0 NOTATION declarations. The purpose of notations is to describe the format of
non-XML data within an XML document. Represents the World Wide Web Consortium (W3C) notation element.
-
Field Summary
FieldsFields inherited from class org.apache.ws.commons.schema.XmlSchemaObject
lineNumber, linePosition, sourceURI -
Constructor Summary
Constructors -
Method Summary
Methods inherited from class org.apache.ws.commons.schema.XmlSchemaAnnotated
getAnnotation, getId, getUnhandledAttributes, setAnnotation, setId, setUnhandledAttributesMethods inherited from class org.apache.ws.commons.schema.XmlSchemaObject
addMetaInfo, equals, getLineNumber, getLinePosition, getMetaInfoMap, getSourceURI, hashCode, setLineNumber, setLinePosition, setMetaInfoMap, setSourceURI
-
Field Details
-
system
-
publicNotation
-
namedDelegate
-
-
Constructor Details
-
XmlSchemaNotation
Creates new XmlSchemaNotation
-
-
Method Details
-
getPublic
-
setPublic
-
getSystem
-
setSystem
-
getParent
Description copied from interface:XmlSchemaNamedRetrieve the parent schema.- Specified by:
getParentin interfaceXmlSchemaNamed- Returns:
- the containing schema.
-
getQName
Description copied from interface:XmlSchemaNamedGet the QName for this object. This is always the formal name that identifies this item in the schema. If the item has a form (an element or attribute), and the form is 'unqualified', this is not the appropriate QName in an instance document. For those items, the getWiredName method returns the appropriate QName for an instance document.- Specified by:
getQNamein interfaceXmlSchemaNamed- Returns:
- The qualified name of this object.
- See Also:
-
isAnonymous
public boolean isAnonymous()- Specified by:
isAnonymousin interfaceXmlSchemaNamed- Returns:
- true if this object has no name.
-
isTopLevel
public boolean isTopLevel()- Specified by:
isTopLevelin interfaceXmlSchemaNamed- Returns:
- true if this item is a top-level item of the schema; false if this item is nested inside of some other schema object.
-
toString
- Overrides:
toStringin classXmlSchemaAnnotated
-
setPublicNotation
-
getPublicNotation
String getPublicNotation() -
getName
Description copied from interface:XmlSchemaNamedRetrieve the name.- Specified by:
getNamein interfaceXmlSchemaNamed- Returns:
- the local name of this object within its schema.
-
setName
Description copied from interface:XmlSchemaNamedSet the name. Set to null to render the object anonymous, or to prepare to change it to refer to some other object.- Specified by:
setNamein interfaceXmlSchemaNamed- Parameters:
name- the name.
-