|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.smallx.xml.infoset.memory.MemoryItem
com.smallx.xml.infoset.memory.MemoryTextDataItem
com.smallx.xml.infoset.memory.MemoryAttribute
Field Summary | |
protected int |
column
|
protected int |
line
|
protected Name |
name
|
protected java.lang.String |
prefix
|
protected java.util.List |
tokens
|
protected TypeDefinition |
typeDefinition
|
protected int |
validationAttempted
|
protected int |
validity
|
Fields inherited from class com.smallx.xml.infoset.memory.MemoryItem |
infoset, origin, ranking |
Fields inherited from interface com.smallx.xml.infoset.Attribute |
TYPE |
Fields inherited from interface com.smallx.xml.infoset.Item |
ANCESTOR_AXIS, ANCESTOR_OR_SELF_AXIS, ATTRIBUTE, ATTRIBUTE_AXIS, CHARACTERS, CHILD_AXIS, COMMENT, DESCENDANT_AXIS, DESCENDANT_OR_SELF_AXIS, DOCUMENT, DOCUMENT_END, ELEMENT, ELEMENT_END, FOLLOWING_AXIS, FOLLOWING_SIBLING_AXIS, N_TYPES, NAMESPACE, NAMESPACE_AXIS, PARENT_AXIS, PRECEDING_AXIS, PRECEDING_SIBLING_AXIS, PROCESSING_INSTRUCTION, SELF_AXIS |
Fields inherited from interface com.smallx.xml.infoset.Validity |
ATTEMPTED_FULL, ATTEMPTED_NONE, ATTEMPTED_PARTIAL, INVALID, NOT_KNOWN, VALID |
Constructor Summary | |
MemoryAttribute(Infoset infoset,
Parent origin,
Name name,
java.lang.String textValue,
java.lang.Object typedValue)
|
Method Summary | |
int |
getColumn()
|
Element |
getElement()
|
int |
getLine()
|
Name |
getName()
Return the name of the object. |
java.lang.String |
getPrefix()
|
java.util.Iterator |
getTokenizedValue()
|
byte |
getType()
Returns the type of type node. |
TypeDefinition |
getTypeDefinition()
Returns a type definition from the schema implementation. |
int |
getValidationAttempted()
|
int |
getValidity()
Gets the validity. |
void |
setColumn(int column)
|
protected void |
setIndex(int index)
|
void |
setLine(int line)
|
void |
setName(Name value)
Sets the name of the object. |
void |
setName(java.lang.String localName)
Sets the name of the object. |
void |
setName(java.net.URI namespaceName,
java.lang.String localName)
Sets the name of the object. |
void |
setPrefix(java.lang.String prefix)
|
void |
setText(java.lang.String textValue)
|
void |
setTypeDefinition(TypeDefinition typeDef)
Sets the type definition object for this item. |
void |
setValidity(int validity,
int attempted)
Sets the validity and validation attempted. |
Methods inherited from class com.smallx.xml.infoset.memory.MemoryTextDataItem |
getNormalizedText, getText, getTypedValue, setTypedValue |
Methods inherited from class com.smallx.xml.infoset.memory.MemoryItem |
compareTo, getAxis, getDocument, getGeneratedId, getInfoset, getOrigin, setRank |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Methods inherited from interface com.smallx.xml.infoset.Item |
compareTo, getAxis, getDocument, getGeneratedId, getInfoset, getOrigin |
Methods inherited from interface com.smallx.xml.infoset.Text |
getNormalizedText, getText |
Field Detail |
protected int line
protected int column
protected java.util.List tokens
protected Name name
protected java.lang.String prefix
protected TypeDefinition typeDefinition
protected int validity
protected int validationAttempted
Constructor Detail |
public MemoryAttribute(Infoset infoset, Parent origin, Name name, java.lang.String textValue, java.lang.Object typedValue)
Method Detail |
protected void setIndex(int index)
setIndex
in class MemoryItem
public byte getType()
Item
getType
in interface Item
public Name getName()
Named
getName
in interface Named
public void setName(Name value)
Named
setName
in interface Named
value
- The name to set.public void setName(java.lang.String localName)
Named
setName
in interface Named
localName
- The local name to use and the namespace name is assumed to be URI.NO_NAMESPACEpublic void setName(java.net.URI namespaceName, java.lang.String localName)
Named
setName
in interface Named
namespaceName
- The namespace name to use.localName
- The local name to use.public java.lang.String getPrefix()
getPrefix
in interface Prefixed
public void setPrefix(java.lang.String prefix)
setPrefix
in interface Prefixed
public java.util.Iterator getTokenizedValue()
getTokenizedValue
in interface Attribute
public void setText(java.lang.String textValue)
setText
in interface Text
setText
in class MemoryTextDataItem
public Element getElement()
getElement
in interface Attribute
public int getColumn()
getColumn
in interface Location
public int getLine()
getLine
in interface Location
public void setColumn(int column)
setColumn
in interface Location
public void setLine(int line)
setLine
in interface Location
public int getValidity()
Validity
getValidity
in interface Validity
public int getValidationAttempted()
getValidationAttempted
in interface Validity
public void setValidity(int validity, int attempted)
Validity
setValidity
in interface Validity
validity
- One of the values VALID, INVALID, or NOT_KNOWNattempted
- One of the values ATTEMPTED_NONE, ATTEMPTED_FULL, or ATTEMPTED_PARTIALpublic TypeDefinition getTypeDefinition()
Validity
getTypeDefinition
in interface Validity
public void setTypeDefinition(TypeDefinition typeDef)
Validity
setTypeDefinition
in interface Validity
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |