public class Categories extends SaxRepresentation
Category entries.XML_SECURE_PROCESSINGXML_EXPANDING_ENTITY_REFS, XML_VALIDATING_DTDUNKNOWN_SIZE| Constructor and Description |
|---|
Categories(Client clientDispatcher,
java.lang.String categoriesUri)
Constructor.
|
Categories(Context context,
java.lang.String categoriesUri)
Constructor.
|
Categories(Representation categoriesFeed)
Constructor.
|
Categories(java.lang.String categoriesUri)
Constructor.
|
| Modifier and Type | Method and Description |
|---|---|
Reference |
getBaseReference()
Returns the base reference used to resolve relative references found
within the scope of the xml:base attribute.
|
java.util.List<Category> |
getEntries()
Returns the list of entries.
|
Reference |
getScheme()
Returns the scheme.
|
boolean |
isFixed()
Indicates if the list is fixed.
|
void |
setBaseReference(Reference baseReference)
Sets the base reference used to resolve relative references found within
the scope of the xml:base attribute.
|
void |
setEntries(java.util.List<Category> entries)
Sets the list of entries.
|
void |
setFixed(boolean fixed)
Indicates if the list is fixed.
|
void |
setScheme(Reference scheme)
Sets the scheme.
|
void |
write(XmlWriter writer)
Writes the representation to a XML writer.
|
void |
writeElement(XmlWriter writer)
Writes the representation to a XML writer.
|
getInputSource, getSaxSource, isSecureProcessing, parse, release, setSaxSource, setSecureProcessing, writegetBoolean, getDocument, getDocumentBuilder, getDomSource, getEntityResolver, getErrorHandler, getNamespaces, getNamespaceURI, getNode, getNodes, getNumber, getPrefix, getPrefixes, getSaxSource, getSchema, getStreamSource, getText, isCoalescing, isExpandingEntityRefs, isIgnoringComments, isIgnoringExtraWhitespaces, isNamespaceAware, isValidatingDtd, isXIncludeAware, setCoalescing, setEntityResolver, setErrorHandler, setExpandingEntityRefs, setIgnoringComments, setIgnoringExtraWhitespaces, setNamespaceAware, setNamespaces, setSchema, setSchema, setValidatingDtd, setXIncludeAware, validate, validate, validate, validategetReadergetChannel, getStream, write, writeappend, exhaust, getAvailableSize, getDigest, getDisposition, getExpirationDate, getRange, getRegistration, getSize, getText, hasKnownSize, isAvailable, isEmpty, isSelectable, isTransient, setAvailable, setDigest, setDisposition, setExpirationDate, setListener, setRange, setSize, setTransientgetModificationDate, getTag, setModificationDate, setTagcreateClientInfo, equals, getCharacterSet, getEncodings, getLanguages, getLocationRef, getMediaType, hashCode, includes, isCompatible, setCharacterSet, setEncodings, setLanguages, setLocationRef, setLocationRef, setMediaType, toStringpublic Categories(Client clientDispatcher, java.lang.String categoriesUri) throws java.io.IOException
clientDispatcher - The client HTTP dispatcher.categoriesUri - The feed URI.java.io.IOExceptionpublic Categories(Context context, java.lang.String categoriesUri) throws java.io.IOException
context - The context from which the client dispatcher will be
retrieved.categoriesUri - The feed URI.java.io.IOExceptionpublic Categories(Representation categoriesFeed) throws java.io.IOException
categoriesFeed - The XML entries document.java.io.IOExceptionpublic Categories(java.lang.String categoriesUri)
throws java.io.IOException
categoriesUri - The feed URI.java.io.IOExceptionpublic Reference getBaseReference()
public java.util.List<Category> getEntries()
public Reference getScheme()
public boolean isFixed()
public void setBaseReference(Reference baseReference)
baseReference - The base reference used to resolve relative references found
within the scope of the xml:base attribute.public void setEntries(java.util.List<Category> entries)
entries - The list of entries.public void setFixed(boolean fixed)
fixed - True if the list is fixed.public void setScheme(Reference scheme)
scheme - The scheme.public void write(XmlWriter writer) throws java.io.IOException
write in class SaxRepresentationwriter - The XML writer to write to.java.io.IOExceptionpublic void writeElement(XmlWriter writer) throws org.xml.sax.SAXException
writer - The XML writer to write to.org.xml.sax.SAXExceptionCopyright © 2005-2024 Restlet.