Class ResourceContentTypeUnmarshaller

All Implemented Interfaces:
Unmarshaller

public class ResourceContentTypeUnmarshaller extends AbstractXACMLObjectUnmarshaller
Unmarshaller for ResourceContentType objects.
  • Constructor Details

    • ResourceContentTypeUnmarshaller

      public ResourceContentTypeUnmarshaller()
      Constructor.
  • Method Details

    • processAttribute

      protected void processAttribute(XMLObject xmlObject, Attr attribute) throws UnmarshallingException
      Called after an attribute has been unmarshalled so that it can be added to the XMLObject. The default implementation of this method is a no-op
      Overrides:
      processAttribute in class AbstractXMLObjectUnmarshaller
      Parameters:
      xmlObject - the XMLObject
      attribute - the attribute
      Throws:
      UnmarshallingException - thrown if there is a problem adding the attribute to the XMLObject
    • processChildElement

      protected void processChildElement(XMLObject parentXMLObject, XMLObject childXMLObject) throws UnmarshallingException
      Called after a child element has been unmarshalled so that it can be added to the parent XMLObject. The default implementation of this method is a no-op.
      Overrides:
      processChildElement in class AbstractXMLObjectUnmarshaller
      Parameters:
      parentXMLObject - the parent XMLObject
      childXMLObject - the child XMLObject
      Throws:
      UnmarshallingException - thrown if there is a problem adding the child to the parent
    • processElementContent

      protected void processElementContent(XMLObject xmlObject, String elementContent)
      Called if the element being unmarshalled contained textual content so that it can be added to the XMLObject. The default implementation of this method is a no-op
      Overrides:
      processElementContent in class AbstractXMLObjectUnmarshaller
      Parameters:
      xmlObject - XMLObject the content will be given to
      elementContent - the Element's content