|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.xml.sax.helpers.DefaultHandler
org.apache.axis.encoding.DeserializationContext
org.glite.ce.monitorapij.resource.ResourceHandler
An implementation of an XML serializer and deserializer.
It keeps trace of the registered Resource
s in an xml file.
Field Summary |
Fields inherited from class org.apache.axis.encoding.DeserializationContext |
haveSeenSchemaNS, inputSource, log, msgContext, startOfMappingsPos |
Constructor Summary | |
ResourceHandler(org.apache.axis.MessageContext context)
Creates a new ResourceHandler object. |
Method Summary | |
Resource |
getResource(org.w3c.dom.Element element)
Get the resource specified by an Element of the xml file. |
java.lang.Object |
getValue()
Get the deserialized value. |
java.lang.String |
getXML(Resource resource)
Get the xml code as a String referring to the specified Resource . |
Methods inherited from class org.apache.axis.encoding.DeserializationContext |
addObjectById, characters, comment, deserializing, endCDATA, endDocument, endDTD, endElement, endEntity, endPrefixMapping, getCurElement, getCurrentNSMappings, getCurrentRecordPos, getDeserializer, getDeserializerForClass, getDeserializerForType, getDestinationClass, getDocumentLocator, getElementByID, getEncodingStyle, getEnvelope, getMessageContext, getNamespaceURI, getObjectByRef, getQNameFromString, getRecorder, getSOAPConstants, getStartOfMappingsPos, getTypeFromAttributes, getTypeFromXSITypeAttr, getTypeMapping, getTypeMappingRegistry, hasElementsByID, ignorableWhitespace, isDoneParsing, isNil, isProcessingRef, parse, popElementHandler, processingInstruction, pushElementHandler, pushNewElement, registerElementByID, registerFixup, registerResolverForID, replaceElementHandler, resolveEntity, setCurElement, setDestinationClass, setDocumentLocator, setProcessingRef, setRecorder, skippedEntity, startCDATA, startDocument, startDTD, startElement, startEntity, startPrefixMapping |
Methods inherited from class org.xml.sax.helpers.DefaultHandler |
error, fatalError, notationDecl, unparsedEntityDecl, warning |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public ResourceHandler(org.apache.axis.MessageContext context) throws java.lang.Exception
context
- The current MessageContext
used to get the deserializer for CEMonResource class.
java.lang.Exception
Method Detail |
public java.lang.Object getValue()
org.apache.axis.encoding.DeserializationContextImpl#getValue()
public Resource getResource(org.w3c.dom.Element element) throws java.lang.Exception
Element
of the xml file.
element
- The Element
of the xml file referring to a Resource
Resource
descibed by the Element.
java.lang.Exception
public java.lang.String getXML(Resource resource) throws java.lang.Exception
Resource
.
This will be inserted in the xml file.
resource
- the resource to be registered in the xml file.
java.lang.Exception
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |