weblogic.xml.stream
Interface CharacterData
- All Known Subinterfaces:
- Comment, Space
- public interface CharacterData
- extends XMLEvent
A marker interface for character data
- Author:
- Copyright © 2004 BEA Systems, Inc. All Rights Reserved.
- See Also:
XMLEvent
Fields inherited from class weblogic.xml.stream.XMLEvent |
CHANGE_PREFIX_MAPPING,
CHARACTER_DATA,
COMMENT,
END_DOCUMENT,
END_ELEMENT,
END_PREFIX_MAPPING,
ENTITY_REFERENCE,
NULL_ELEMENT,
PROCESSING_INSTRUCTION,
SPACE,
START_DOCUMENT,
START_ELEMENT,
START_PREFIX_MAPPING,
XML_EVENT |
Method Summary
|
java.lang.String |
getContent()
Get the content of this element,
returns null if the element has no content |
boolean |
hasContent()
Returns true if this element has content and false otherwise |
Methods inherited from interface weblogic.xml.stream.XMLEvent |
getLocation,
getName,
getSchemaType,
getType,
getTypeAsString,
hasName,
isChangePrefixMapping,
isCharacterData,
isEndDocument,
isEndElement,
isEndPrefixMapping,
isEntityReference,
isNull,
isProcessingInstruction,
isSpace,
isStartDocument,
isStartElement,
isStartPrefixMapping |
getContent
public java.lang.String getContent()
- Get the content of this element,
returns null if the element has no content
hasContent
public boolean hasContent()
- Returns true if this element has content and false otherwise