Save This Page
Home » Xerces-J-src.2.9.1 » org.apache.xerces.dom3 » as » [javadoc | source]
org.apache.xerces.dom3.as
public interface: ASElementDeclaration [javadoc | source]

All Implemented Interfaces:
    ASObject

Deprecated! The - element name along with the content specification in the context of an ASObject.

See also the Document Object Model (DOM) Level 3 Abstract Schemas and Load and Save Specification.

Field Summary
public static final  short EMPTY_CONTENTTYPE    Represents an EMPTY content type for an Element declaration. 
public static final  short ANY_CONTENTTYPE    Represents an ANY content type for an Element declaration. 
public static final  short MIXED_CONTENTTYPE    Represents a MIXED content type for an Element declaration. Note that isPCDataOnly would also need to checked, in addition to this, if an element's content model was simply text, as an example. 
public static final  short ELEMENTS_CONTENTTYPE    Represents an ELEMENTS only content type for an Element declaration. 
Method from org.apache.xerces.dom3.as.ASElementDeclaration Summary:
addASAttributeDecl,   getASAttributeDecls,   getAsCM,   getContentType,   getElementType,   getIsPCDataOnly,   getStrictMixedContent,   getSystemId,   removeASAttributeDecl,   setASAttributeDecls,   setAsCM,   setContentType,   setElementType,   setIsPCDataOnly,   setStrictMixedContent,   setSystemId
Method from org.apache.xerces.dom3.as.ASElementDeclaration Detail:
 public  void addASAttributeDecl(ASAttributeDeclaration attributeDecl)       Deprecated!
    Adds an ASAttributeDeclaration for the element being declared.
 public ASNamedObjectMap getASAttributeDecls()       Deprecated!
    TheASNamedObjectMap containing ASAttributeDeclarations for all the attributes that can appear on this type of element.
 public ASContentModel getAsCM()       Deprecated!
    The content model of element.
 public short getContentType()       Deprecated!
    The content type of the element. One of EMPTY_CONTENTTYPE, ANY_CONTENTTYPE, MIXED_CONTENTTYPE, ELEMENTS_CONTENTTYPE.
 public ASDataType getElementType()       Deprecated!
    Datatype of the element.
 public boolean getIsPCDataOnly()       Deprecated!
    Boolean defining whether the element type contains child elements and PCDATA or PCDATA only for mixed element types. true if the element is of type PCDATA only. Relevant only for mixed content type elements.
 public boolean getStrictMixedContent()       Deprecated!
    A boolean defining whether the element order and number of the child elements for mixed content type has to be respected or not. For example XML Schema defined mixed content types the order is important and needs to be respected whether for DTD based AS the order and number of child elements are not important.
 public String getSystemId()       Deprecated!
    the URI reference representing the system identifier for the notation declaration, if present, null otherwise.
 public ASAttributeDeclaration removeASAttributeDecl(ASAttributeDeclaration attributeDecl)       Deprecated!
    Removes an ASAttributeDeclaration from the element being declared.
 public  void setASAttributeDecls(ASNamedObjectMap ASAttributeDecls)       Deprecated!
    TheASNamedObjectMap containing ASAttributeDeclarations for all the attributes that can appear on this type of element.
 public  void setAsCM(ASContentModel asCM)       Deprecated!
    The content model of element.
 public  void setContentType(short contentType)       Deprecated!
    The content type of the element. One of EMPTY_CONTENTTYPE, ANY_CONTENTTYPE, MIXED_CONTENTTYPE, ELEMENTS_CONTENTTYPE.
 public  void setElementType(ASDataType elementType)       Deprecated!
    Datatype of the element.
 public  void setIsPCDataOnly(boolean isPCDataOnly)       Deprecated!
    Boolean defining whether the element type contains child elements and PCDATA or PCDATA only for mixed element types. true if the element is of type PCDATA only. Relevant only for mixed content type elements.
 public  void setStrictMixedContent(boolean strictMixedContent)       Deprecated!
    A boolean defining whether the element order and number of the child elements for mixed content type has to be respected or not. For example XML Schema defined mixed content types the order is important and needs to be respected whether for DTD based AS the order and number of child elements are not important.
 public  void setSystemId(String systemId)       Deprecated!
    the URI reference representing the system identifier for the notation declaration, if present, null otherwise.