public abstract class XCommonImpl extends HandleChain implements XCommon
Modifier and Type | Field and Description |
---|---|
protected boolean |
isValid
Validation flag.
|
name, nextSibling, prevSibling
instProc
Constructor and Description |
---|
XCommonImpl() |
Modifier and Type | Method and Description |
---|---|
logical |
addSchemaLocation(character namespace,
character location)
Adding new match pair for namespace schema and physical file location.
|
logical |
addSchemaLocation(character namespace,
java.lang.String location)
Adding new match pair for namespace schema and physical file location.
|
logical |
addSchemaLocation(java.lang.String namespace,
character location)
Adding new match pair for namespace schema and physical file location.
|
logical |
addSchemaLocation(java.lang.String namespace,
java.lang.String location)
Adding new match pair for namespace schema and physical file location.
|
character |
getNonamespaceSchemaLocation()
Gets the value of the XML schema file for elements with no namespaces.
|
protected boolean |
hasNextSibling()
Check if this resource supports the NEXT-SIBLING attribute.
|
protected boolean |
hasPrevSibling()
Check if this resource supports the PREV-SIBLING attribute.
|
protected void |
invalidArgumentAssignError(java.lang.String attribute)
Process and display invalid node error.
|
protected void |
invalidArgumentError(java.lang.String attribute)
Process and display invalid node error.
|
logical |
removeAttribute(character name)
Removes the specified attribute.
|
logical |
removeAttribute(character name,
java.lang.String uri)
Removes the specified attribute.
|
logical |
removeAttribute(double index)
Removes the specified attribute.
|
logical |
removeAttribute(double index,
character uri)
Removes the specified attribute.
|
logical |
removeAttribute(double index,
java.lang.String uri)
Removes the specified attribute.
|
logical |
removeAttribute(NumberType index)
Removes the specified attribute.
|
logical |
removeAttribute(NumberType index,
java.lang.String uri)
Removes the specified attribute.
|
logical |
removeAttribute(java.lang.String name)
Removes the specified attribute.
|
logical |
removeAttribute(java.lang.String name,
character uri)
Removes the specified attribute.
|
logical |
removeAttribute(java.lang.String name,
java.lang.String uri)
Removes the specified attribute.
|
protected boolean |
resourceDelete()
Delete the resource.
|
void |
setNonamespaceSchemaLocation(character location)
Setting the new value for the nonamespace-schema-location attribute.
|
void |
setNonamespaceSchemaLocation(java.lang.String location)
Setting the new value for the nonamespace-schema-location attribute.
|
boolean |
valid()
Reports if this object is valid for use.
|
delete, firstResource, firstResource, getHead, getNextSibling, getNextSibling, getPrevSibling, getPrevSibling, getPrivateData, getTail, hasName, hasNameConstraints, hasNameReadOnly, hasParent, hasPrivateData, interlink, isChained, lastResource, lastResource, moveInChain, name, name, name, readOnlyError, readOnlyError, setHead, setNextSibling, setNextSibling, setPrevSibling, setPrevSibling, setPrivateData, setPrivateData, setPrivateData, validateName
doDelete, getResourceType, id, id, implicitDeletion, incrementTrigger, instantiatingProcedure, invalidAttribute, processResource, registerResource, setInstantiatingProcedure, toString, type, unableToAssignUnknown, unknown
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
removeAttribute, removeAttribute
id, id, unknown
getResourceType
public character getNonamespaceSchemaLocation()
getNonamespaceSchemaLocation
in interface XCommon
public void setNonamespaceSchemaLocation(character location)
setNonamespaceSchemaLocation
in interface XCommon
location
- New value of the nonamespace-schema-location attribute to set.public void setNonamespaceSchemaLocation(java.lang.String location)
setNonamespaceSchemaLocation
in interface XCommon
location
- New value of the nonamespace-schema-location attribute to set.public logical addSchemaLocation(java.lang.String namespace, character location)
addSchemaLocation
in interface XCommon
namespace
- Target namespace of the schema or am empty string or Unknown value.location
- Location of the XML schema file.true
in case of success false
otherwise.public logical addSchemaLocation(character namespace, java.lang.String location)
addSchemaLocation
in interface XCommon
namespace
- Target namespace of the schema or am empty string or Unknown value.location
- Location of the XML schema file.true
in case of success false
otherwise.public logical addSchemaLocation(java.lang.String namespace, java.lang.String location)
addSchemaLocation
in interface XCommon
namespace
- Target namespace of the schema or am empty string or Unknown value.location
- Location of the XML schema file.true
in case of success false
otherwise.public logical addSchemaLocation(character namespace, character location)
addSchemaLocation
in interface XCommon
namespace
- Target namespace of the schema or am empty string or Unknown value.location
- Location of the XML schema file.true
in case of success false
otherwise.public logical removeAttribute(character name)
removeAttribute
in interface XCommon
name
- The name of the attribute to remove.true
in case of success false
otherwise.public logical removeAttribute(java.lang.String name)
removeAttribute
in interface XCommon
name
- The name of the attribute to remove.true
in case of success false
otherwise.public logical removeAttribute(NumberType index)
removeAttribute
in interface XCommon
index
- The 1-based index of the attribute to remove.true
in case of success false
otherwise.public logical removeAttribute(double index)
removeAttribute
in interface XCommon
index
- The 1-based index of the attribute to remove.true
in case of success false
otherwise.public logical removeAttribute(java.lang.String name, java.lang.String uri)
removeAttribute
in interface XCommon
name
- The name of the attribute to remove.uri
- The URI of the attribute to remove.true
in case of success false
otherwise.public logical removeAttribute(java.lang.String name, character uri)
removeAttribute
in interface XCommon
name
- The name of the attribute to remove.uri
- The URI of the attribute to remove.true
in case of success false
otherwise.public logical removeAttribute(double index, character uri)
removeAttribute
in interface XCommon
index
- The 1-based index of the attribute to remove.uri
- The URI of the attribute to remove.true
in case of success false
otherwise.public logical removeAttribute(character name, java.lang.String uri)
removeAttribute
in interface XCommon
name
- The name of the attribute to remove.uri
- The URI of the attribute to remove.true
in case of success false
otherwise.public logical removeAttribute(double index, java.lang.String uri)
removeAttribute
in interface XCommon
index
- The 1-based index of the attribute to remove.uri
- The URI of the attribute to remove.true
in case of success false
otherwise.public logical removeAttribute(NumberType index, java.lang.String uri)
removeAttribute
in interface XCommon
index
- The 1-based index of the attribute to remove.uri
- The URI of the attribute to remove.true
in case of success false
otherwise.protected void invalidArgumentAssignError(java.lang.String attribute)
attribute
- The read-only attribute.protected void invalidArgumentError(java.lang.String attribute)
attribute
- The read-only attribute.public boolean valid()
valid
in interface WrappedResource
true
if we are valid (can be used).protected boolean resourceDelete()
resourceDelete
in class HandleResource
true
if the resource was deleted.protected boolean hasPrevSibling()
hasPrevSibling
in class HandleChain
false
.protected boolean hasNextSibling()
hasNextSibling
in class HandleChain
false
.