|
||||||||||
PREV NEXT | FRAMES NO FRAMES |
Packages that use Content | |
---|---|
org.cdmckay.coffeedom | Classes to represent the components of an XML document. |
org.cdmckay.coffeedom.output | Classes to output CoffeeDOM documents to various destinations. |
org.cdmckay.coffeedom.transform | Classes to help with transformations, based on the JAXP TrAX classes. |
Uses of Content in org.cdmckay.coffeedom |
---|
Subclasses of Content in org.cdmckay.coffeedom | |
---|---|
class |
CDATA
An XML CDATA section. |
class |
Comment
An XML comment. |
class |
DocType
An XML DOCTYPE declaration. |
class |
Element
An XML element. |
class |
EntityRef
An XML entity reference. |
class |
ProcessingInstruction
An XML processing instruction. |
class |
Text
Character-based XML content. |
Methods in org.cdmckay.coffeedom that return Content | |
---|---|
Content |
Content.clone()
Returns a deep, unattached copy of this child and its descendants detached from any parent or document. |
Content |
Content.detach()
Detaches this child from its parent or does nothing if the child has no parent. |
Content |
Parent.getContent(int index)
Returns the child at the given index. |
Content |
Element.getContent(int index)
|
Content |
Document.getContent(int index)
|
Content |
Parent.removeContent(int index)
Removes and returns the child at the given index, or returns null if there's no such child. |
Content |
Element.removeContent(int index)
|
Content |
Document.removeContent(int index)
|
protected Content |
Content.setParent(Parent parent)
Sets the parent of this Content. |
Methods in org.cdmckay.coffeedom that return types with arguments of type Content | |
---|---|
List<Content> |
Parent.cloneContents()
Returns a list containing detached clones of this parent's content list. |
List<Content> |
Element.cloneContents()
|
List<Content> |
Document.cloneContents()
|
List<Content> |
Parent.getContents()
Returns the full content of this parent as a List which contains objects of type Content . |
List<Content> |
Element.getContents()
This returns the full content of the element as a List which may contain objects of type Text ,
Element , Comment , ProcessingInstruction , CDATA , and
EntityRef . |
List<Content> |
Document.getContents()
This will return all content for the Document . |
List<Content> |
Parent.getContents(Filter filter)
Returns as a List the content of this parent that matches the supplied filter. |
List<Content> |
Element.getContents(Filter filter)
Return a filter view of this Element 's content. |
List<Content> |
Document.getContents(Filter filter)
Return a filtered view of this Document 's content. |
Iterable<Content> |
Parent.getDescendants()
Returns an Iterable that walks over all descendants in document order. |
Iterable<Content> |
Element.getDescendants()
Returns an iterator that walks over all descendants in document order. |
Iterable<Content> |
Document.getDescendants()
Returns an Iterable that walks over all descendants in document order. |
Iterable<Content> |
Parent.getDescendants(Filter filter)
Returns an Iterable that walks over all descendants in document order applying the Filter to
return only elements that match the filter rule. |
Iterable<Content> |
Element.getDescendants(Filter filter)
Returns an iterator that walks over all descendants in document order applying the Filter to return only elements that match the filter rule. |
Iterable<Content> |
Document.getDescendants(Filter filter)
Returns an Iterable that walks over all descendants in document order applying the Filter to return only elements
that match the filter rule. |
List<Content> |
Parent.removeContents()
Removes all content from this parent and returns the detached children. |
List<Content> |
Element.removeContents()
Removes all child content from this parent. |
List<Content> |
Document.removeContents()
Removes all child content from this parent. |
List<Content> |
Parent.removeContents(Filter filter)
Removes from this parent all child content matching the given filter and returns a list of the detached children. |
List<Content> |
Element.removeContents(Filter filter)
Remove all child content from this parent matching the supplied filter. |
List<Content> |
Document.removeContents(Filter filter)
Remove all child content from this parent matching the supplied filter. |
Methods in org.cdmckay.coffeedom with parameters of type Content | |
---|---|
Element |
Element.addContent(Content child)
Appends the child to the end of the element's content list. |
Document |
Document.addContent(Content child)
Appends the child to the end of the content list. |
Element |
Element.addContent(int index,
Content child)
Inserts the child into the content list at the given index. |
Document |
Document.addContent(int index,
Content child)
Inserts the child into the content list at the given index. |
void |
UncheckedCoffeeDOMFactory.addContent(Parent parent,
Content child)
|
void |
DefaultCoffeeDOMFactory.addContent(Parent parent,
Content child)
|
void |
CoffeeDOMFactory.addContent(Parent parent,
Content content)
|
int |
Parent.indexOf(Content child)
Returns the index of the supplied child in the content list, or -1 if not a child of this parent. |
int |
Element.indexOf(Content child)
|
int |
Document.indexOf(Content child)
|
boolean |
Parent.removeContent(Content child)
Removes a single child node from the content list. |
boolean |
Element.removeContent(Content child)
|
boolean |
Document.removeContent(Content child)
|
Element |
Element.setContent(Content child)
Set this element's content to be the supplied child. |
Document |
Document.setContent(Content child)
Set this document's content to be the supplied child. |
Element |
Element.setContent(int index,
Content child)
Replace the current child the given index with the supplied child. |
Document |
Document.setContent(int index,
Content child)
|
Method parameters in org.cdmckay.coffeedom with type arguments of type Content | |
---|---|
Document |
Document.addContent(Collection<? extends Content> newContents)
Appends all children in the given collection to the end of the content list. |
Document |
Document.addContent(int index,
Collection<? extends Content> contents)
Inserts the content in a collection into the content list at the given index. |
Element |
Element.addContents(Collection<? extends Content> newContents)
Appends all children in the given collection to the end of the content list. |
Element |
Element.addContents(int index,
Collection<? extends Content> newContents)
Inserts the content in a collection into the content list at the given index. |
Document |
Document.setContent(Collection<? extends Content> newContents)
This sets the content of the Document . |
Document |
Document.setContent(int index,
Collection<? extends Content> collection)
Replace the child at the given index whith the supplied collection. |
Element |
Element.setContents(Collection<? extends Content> newContents)
This sets the content of the element. |
Parent |
Element.setContents(int index,
Collection<? extends Content> newContents)
Replace the child at the given index whith the supplied collection. |
Constructor parameters in org.cdmckay.coffeedom with type arguments of type Content | |
---|---|
Document(List<Content> contents)
This will create a new Document , with the supplied list of content, and a declaration only if the content contains a DocType instance. |
Uses of Content in org.cdmckay.coffeedom.output |
---|
Methods in org.cdmckay.coffeedom.output with parameters of type Content | |
---|---|
void |
SAXOutputter.outputFragment(Content node)
This will output a single CoffeeDOM nodes as a fragment of an XML document, firing off the SAX events that have been registered. |
Method parameters in org.cdmckay.coffeedom.output with type arguments of type Content | |
---|---|
void |
SAXOutputter.output(List<Content> nodes)
This will output a list of CoffeeDOM nodes as a document, firing off the SAX events that have been registered. |
void |
XMLOutputter.output(List<Content> contents,
OutputStream out)
This will handle printing out a list of nodes. |
void |
XMLOutputter.output(List<Content> contents,
Writer out)
This will handle printing out a list of nodes. |
void |
SAXOutputter.outputFragment(List<Content> nodes)
This will output a list of CoffeeDOM nodes as a fragment of an XML document, firing off the SAX events that have been registered. |
String |
XMLOutputter.outputString(List<Content> list)
Return a string representing a list of nodes. |
Uses of Content in org.cdmckay.coffeedom.transform |
---|
Methods in org.cdmckay.coffeedom.transform that return types with arguments of type Content | |
---|---|
List<Content> |
CoffeeDOMSource.getNodes()
Returns the source node list used by this TrAX source. |
List<Content> |
CoffeeDOMResult.getResult()
Returns the result of an XSL Transformation as a list of CoffeeDOM nodes. |
Method parameters in org.cdmckay.coffeedom.transform with type arguments of type Content | |
---|---|
void |
CoffeeDOMSource.setNodes(List<Content> source)
Sets the source node list used by this TrAX source. |
void |
CoffeeDOMResult.setResult(List<Content> result)
Sets the object(s) produced as result of an XSL Transformation. |
List |
XSLTransformer.transform(List<Content> inputNodes)
Transforms the given input nodes to a list of output nodes. |
Constructor parameters in org.cdmckay.coffeedom.transform with type arguments of type Content | |
---|---|
CoffeeDOMSource(List<Content> source)
Creates a CoffeeDOM TrAX source wrapping a list of CoffeeDOM nodes. |
|
||||||||||
PREV NEXT | FRAMES NO FRAMES |