org.enhydra.xml.xmlc.metadata
Class HTMLSection

java.lang.Object
  |
  +--org.enhydra.apache.xerces.dom.NodeImpl
        |
        +--org.enhydra.apache.xerces.dom.ChildNode
              |
              +--org.enhydra.apache.xerces.dom.ParentNode
                    |
                    +--org.enhydra.apache.xerces.dom.ElementImpl
                          |
                          +--org.enhydra.xml.xmlc.metadata.MetaDataElement
                                |
                                +--org.enhydra.xml.xmlc.metadata.HTMLSection
All Implemented Interfaces:
Cloneable, Element, EventTarget, Node, NodeList, Serializable

public class HTMLSection
extends MetaDataElement

Metadata specific to HTML documents.

See Also:
Serialized Form

Field Summary
static String TAG_NAME
          Element name.
 
Fields inherited from class org.enhydra.apache.xerces.dom.ElementImpl
attributes, name, serialVersionUID
 
Fields inherited from class org.enhydra.apache.xerces.dom.ParentNode
fCachedChild, fCachedChildIndex, fCachedLength, firstChild, ownerDocument
 
Fields inherited from class org.enhydra.apache.xerces.dom.ChildNode
nextSibling, previousSibling
 
Fields inherited from class org.enhydra.apache.xerces.dom.NodeImpl
ELEMENT_DEFINITION_NODE, FIRSTCHILD, flags, HASSTRING, IGNORABLEWS, OWNED, ownerNode, READONLY, SPECIFIED, SYNCCHILDREN, SYNCDATA, UNNORMALIZED
 
Fields inherited from interface org.w3c.dom.Node
ATTRIBUTE_NODE, CDATA_SECTION_NODE, COMMENT_NODE, DOCUMENT_FRAGMENT_NODE, DOCUMENT_NODE, DOCUMENT_POSITION_CONTAINED_BY, DOCUMENT_POSITION_CONTAINS, DOCUMENT_POSITION_DISCONNECTED, DOCUMENT_POSITION_FOLLOWING, DOCUMENT_POSITION_IMPLEMENTATION_SPECIFIC, DOCUMENT_POSITION_PRECEDING, DOCUMENT_TYPE_NODE, ELEMENT_NODE, ENTITY_NODE, ENTITY_REFERENCE_NODE, NOTATION_NODE, PROCESSING_INSTRUCTION_NODE, TEXT_NODE
 
Constructor Summary
HTMLSection(Document ownerDoc)
          Constructor.
 
Method Summary
 HTMLAttr addHTMLAttr()
          Create and add a htmlAttr child element.
 void addHTMLAttr(HTMLAttr htmlAttr)
          Add a htmlAttr child element.
 HTMLTag addHTMLTag()
          Create and add a htmlTag child element.
 void addHTMLTag(HTMLTag htmlTag)
          Add a htmlTag child element.
 HTMLTagSet addHTMLTagSet()
          Create and add a htmlTagSet child element.
 void addHTMLTagSet(HTMLTagSet htmlTagSet)
          Add a htmlTagSet child element.
protected  void completeModifications()
          Complete modifications to DOM.
 void deleteHTMLAttr(HTMLAttr htmlAttr)
          Delete a htmlAttr child element.
 void deleteHTMLTag(HTMLTag htmlTag)
          Delete a htmlTag child element.
 void deleteTagSet(HTMLTagSet htmlTagSet)
          Delete a htmlTagSet child element.
 HTMLCompatibility getCompatibility()
          Get the compatibility child element or null if it doesn't exist.
 HTMLCompatibility getCreateCompatibility()
          Get the compatibility child element, creating if it doesn't exist.
 String getEncoding()
          Get the encoding attribute value, or
 HTMLAttr[] getHTMLAttr()
          Get the htmlAttr child elements.
 HTMLAttrDef[] getHTMLAttrDefs()
           
 HTMLTagDef[] getHTMLTagDefs()
           
 HTMLTag[] getHTMLTags()
          Get the htmlTag child elements.
 HTMLTagSet[] getHTMLTagSets()
          Get the htmlTagSet child elements.
protected  void mergeElement(MetaDataElement srcElement)
          Merge another element into this element.
 void setCompatibility(HTMLCompatibility compatibility)
          Set the compatibility child element, or delete with null.
 void setEncoding(String value)
          Set the encoding attribute value.
 
Methods inherited from class org.enhydra.xml.xmlc.metadata.MetaDataElement
addStringArrayAttribute, deleteChild, getAttributeNull, getBooleanAttribute, getBooleanAttribute, getBooleanObjectAttribute, getChild, getChildren, getCreateChild, getDocument, getMetaData, getStringArrayAttribute, isAttributeSpecified, mergeAttributes, mergeSingletonChild, setBooleanAttribute, setBooleanAttribute, setBooleanObjectAttribute, setChild, setRemoveAttribute, setRemoveStringArrayAttribute
 
Methods inherited from class org.enhydra.apache.xerces.dom.ElementImpl
cloneNode, getAttribute, getAttributeNode, getAttributeNodeNS, getAttributeNS, getAttributes, getDefaultAttributes, getElementsByTagName, getElementsByTagNameNS, getNodeName, getNodeType, getSchemaTypeInfo, getTagName, hasAttribute, hasAttributeNS, hasAttributes, normalize, reconcileDefaultAttributes, removeAttribute, removeAttributeNode, removeAttributeNS, setAttribute, setAttributeNode, setAttributeNodeNS, setAttributeNS, setIdAttribute, setIdAttributeNode, setIdAttributeNS, setOwnerDocument, setReadOnly, setupDefaultAttributes, synchronizeData
 
Methods inherited from class org.enhydra.apache.xerces.dom.ParentNode
checkNormalizationAfterInsert, checkNormalizationAfterRemove, getChildNodes, getChildNodesUnoptimized, getFirstChild, getLastChild, getLength, getOwnerDocument, hasChildNodes, insertBefore, internalInsertBefore, internalRemoveChild, item, lastChild, lastChild, ownerDocument, removeChild, replaceChild, synchronizeChildren
 
Methods inherited from class org.enhydra.apache.xerces.dom.ChildNode
getNextSibling, getParentNode, getPreviousSibling, parentNode, previousSibling
 
Methods inherited from class org.enhydra.apache.xerces.dom.NodeImpl
addEventListener, appendChild, changed, changes, compareDocumentPosition, dispatchEvent, getBaseURI, getFeature, getLocalName, getNamespaceURI, getNodeValue, getPrefix, getReadOnly, getTextContent, getUserData, getUserData, hasStringValue, hasStringValue, internalIsIgnorableWhitespace, isDefaultNamespace, isEqualNode, isFirstChild, isFirstChild, isIgnorableWhitespace, isNormalized, isNormalized, isOwned, isOwned, isReadOnly, isReadOnly, isSameNode, isSpecified, isSpecified, isSupported, lookupNamespaceURI, lookupPrefix, needsSyncChildren, needsSyncChildren, needsSyncData, needsSyncData, removeEventListener, setNodeValue, setPrefix, setTextContent, setUserData, setUserData, toString
 
Methods inherited from class java.lang.Object
, clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface org.w3c.dom.Node
appendChild, compareDocumentPosition, getBaseURI, getChildNodes, getFeature, getFirstChild, getLastChild, getLocalName, getNamespaceURI, getNextSibling, getNodeValue, getOwnerDocument, getParentNode, getPrefix, getPreviousSibling, getTextContent, getUserData, hasChildNodes, insertBefore, isDefaultNamespace, isEqualNode, isSameNode, isSupported, lookupNamespaceURI, lookupPrefix, removeChild, replaceChild, setNodeValue, setPrefix, setTextContent, setUserData
 

Field Detail

TAG_NAME

public static final String TAG_NAME
Element name.
Constructor Detail

HTMLSection

public HTMLSection(Document ownerDoc)
Constructor.
Method Detail

getEncoding

public String getEncoding()
Get the encoding attribute value, or

setEncoding

public void setEncoding(String value)
Set the encoding attribute value.

getHTMLTagSets

public HTMLTagSet[] getHTMLTagSets()
Get the htmlTagSet child elements.

addHTMLTagSet

public void addHTMLTagSet(HTMLTagSet htmlTagSet)
Add a htmlTagSet child element.

addHTMLTagSet

public HTMLTagSet addHTMLTagSet()
Create and add a htmlTagSet child element.

deleteTagSet

public void deleteTagSet(HTMLTagSet htmlTagSet)
Delete a htmlTagSet child element.

getHTMLTags

public HTMLTag[] getHTMLTags()
Get the htmlTag child elements.

addHTMLTag

public void addHTMLTag(HTMLTag htmlTag)
Add a htmlTag child element.

addHTMLTag

public HTMLTag addHTMLTag()
Create and add a htmlTag child element.

deleteHTMLTag

public void deleteHTMLTag(HTMLTag htmlTag)
Delete a htmlTag child element.

getHTMLAttr

public HTMLAttr[] getHTMLAttr()
Get the htmlAttr child elements.

addHTMLAttr

public void addHTMLAttr(HTMLAttr htmlAttr)
Add a htmlAttr child element.

addHTMLAttr

public HTMLAttr addHTMLAttr()
Create and add a htmlAttr child element.

deleteHTMLAttr

public void deleteHTMLAttr(HTMLAttr htmlAttr)
Delete a htmlAttr child element.

getHTMLTagDefs

public HTMLTagDef[] getHTMLTagDefs()

getHTMLAttrDefs

public HTMLAttrDef[] getHTMLAttrDefs()

getCompatibility

public HTMLCompatibility getCompatibility()
Get the compatibility child element or null if it doesn't exist.

getCreateCompatibility

public HTMLCompatibility getCreateCompatibility()
Get the compatibility child element, creating if it doesn't exist.

setCompatibility

public void setCompatibility(HTMLCompatibility compatibility)
Set the compatibility child element, or delete with null.

completeModifications

protected void completeModifications()
                              throws XMLCException
Complete modifications to DOM.
Overrides:
completeModifications in class MetaDataElement
See Also:
MetaDataElement.completeModifications()

mergeElement

protected void mergeElement(MetaDataElement srcElement)
Merge another element into this element.
Overrides:
mergeElement in class MetaDataElement


Copyright © 1999-2002 enhydra.org (Mark Diekhans, David Li, Richard Kunze). All Rights reserved.