ShrinkWrap Descriptors API Base 2.0.0-alpha-3
A C D E F G I O R T U

A

addDefaultNamespaces() - Method in interface org.jboss.shrinkwrap.descriptor.api.DescriptorNamespace
Adds the default namespaces as defined in the specification.
addNamespace(String, String) - Method in interface org.jboss.shrinkwrap.descriptor.api.DescriptorNamespace
Adds a new namespace.

C

Child<T> - Interface in org.jboss.shrinkwrap.descriptor.api
Represents a child element in a hierarchial Descriptor structure capable of navigating up a level to its parent
create(Class<T>) - Static method in class org.jboss.shrinkwrap.descriptor.api.Descriptors
Creates a new Descriptor instance; the predefined default descriptor name for this type will be used.
create(Class<T>, String) - Static method in class org.jboss.shrinkwrap.descriptor.api.Descriptors
Creates a new named Descriptor instance.

D

Descriptor - Interface in org.jboss.shrinkwrap.descriptor.api
End-user domain-specific language (DSL) view of a metadata Descriptor.
DescriptorExporter<T extends Descriptor> - Interface in org.jboss.shrinkwrap.descriptor.api
An entity capable of exporting a Descriptor to an OutputStream.
DescriptorExportException - Exception in org.jboss.shrinkwrap.descriptor.api
Exception used by the DescriptorExporter on Export problems.
DescriptorExportException(String, Throwable) - Constructor for exception org.jboss.shrinkwrap.descriptor.api.DescriptorExportException
 
DescriptorImporter<T extends Descriptor> - Interface in org.jboss.shrinkwrap.descriptor.api
A type capable of importing a Descriptor from some existing source like a stream of bytes or File
DescriptorImportException - Exception in org.jboss.shrinkwrap.descriptor.api
Exception used by the DescriptorImporter on import problems.
DescriptorImportException(String, Throwable) - Constructor for exception org.jboss.shrinkwrap.descriptor.api.DescriptorImportException
 
DescriptorImportException(String) - Constructor for exception org.jboss.shrinkwrap.descriptor.api.DescriptorImportException
 
DescriptorNamespace<T> - Interface in org.jboss.shrinkwrap.descriptor.api
 
Descriptors - Class in org.jboss.shrinkwrap.descriptor.api
Main entry point into the ShrinkWrap Descriptors project.

E

exportAsString() - Method in interface org.jboss.shrinkwrap.descriptor.api.Descriptor
Exports the descriptor as a String
exportTo(OutputStream) - Method in interface org.jboss.shrinkwrap.descriptor.api.Descriptor
Export the descriptor to a given OutputStream.

F

from(File) - Method in interface org.jboss.shrinkwrap.descriptor.api.DescriptorImporter
Deprecated. Use instead DescriptorImporter.fromFile(File)
from(InputStream) - Method in interface org.jboss.shrinkwrap.descriptor.api.DescriptorImporter
Deprecated. Use instead DescriptorImporter.fromStream(InputStream)
from(InputStream, boolean) - Method in interface org.jboss.shrinkwrap.descriptor.api.DescriptorImporter
Deprecated. Use instead DescriptorImporter.fromStream(InputStream, boolean)
from(String) - Method in interface org.jboss.shrinkwrap.descriptor.api.DescriptorImporter
Deprecated. Use instead DescriptorImporter.fromString(String)
fromFile(File) - Method in interface org.jboss.shrinkwrap.descriptor.api.DescriptorImporter
Creates a new Descriptor from the given input file
fromFile(String) - Method in interface org.jboss.shrinkwrap.descriptor.api.DescriptorImporter
Creates a new Descriptor from the given input file path
fromStream(InputStream) - Method in interface org.jboss.shrinkwrap.descriptor.api.DescriptorImporter
Creates a new Descriptor from the given input stream, closing the specified stream when done, if applicable for the given input stream implementation.
fromStream(InputStream, boolean) - Method in interface org.jboss.shrinkwrap.descriptor.api.DescriptorImporter
Creates a new Descriptor from the given input
fromString(String) - Method in interface org.jboss.shrinkwrap.descriptor.api.DescriptorImporter
Creates a new Descriptor from the given input XML data String

G

getDescriptorName() - Method in interface org.jboss.shrinkwrap.descriptor.api.Descriptor
Get the Descriptor name.
getNamespaces() - Method in interface org.jboss.shrinkwrap.descriptor.api.DescriptorNamespace
Returns all existing namespaces.

I

importAs(Class<T>) - Static method in class org.jboss.shrinkwrap.descriptor.api.Descriptors
Returns a new DescriptorImporter instance, ready to import as a new Descriptor instance of the given type
importAs(Class<T>, String) - Static method in class org.jboss.shrinkwrap.descriptor.api.Descriptors
Returns a new named DescriptorImporter instance, ready to import as a new Descriptor instance of the given type.

O

org.jboss.shrinkwrap.descriptor.api - package org.jboss.shrinkwrap.descriptor.api
 

R

removeAllNamespaces() - Method in interface org.jboss.shrinkwrap.descriptor.api.DescriptorNamespace
Removes all existing namespaces.

T

to(T, OutputStream) - Method in interface org.jboss.shrinkwrap.descriptor.api.DescriptorExporter
Exports the specified Descriptor to the specified OutputStream.

U

up() - Method in interface org.jboss.shrinkwrap.descriptor.api.Child
Returns the parent of this Child

A C D E F G I O R T U
ShrinkWrap Descriptors API Base 2.0.0-alpha-3

Copyright © 2012 JBoss by Red Hat. All Rights Reserved.