org.milyn.javabean.dynamic
Class Descriptor
java.lang.Object
org.milyn.javabean.dynamic.Descriptor
public class Descriptor
- extends Object
Model Descriptor.
- Author:
- tom.fennelly@gmail.com
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
DESCRIPTOR_NAMESPACE_POSTFIX
public static final String DESCRIPTOR_NAMESPACE_POSTFIX
- See Also:
- Constant Field Values
DESCRIPTOR_SCHEMA_LOCATION_POSTFIX
public static final String DESCRIPTOR_SCHEMA_LOCATION_POSTFIX
- See Also:
- Constant Field Values
DESCRIPTOR_BINDING_CONFIG_LOCATION_POSTFIX
public static final String DESCRIPTOR_BINDING_CONFIG_LOCATION_POSTFIX
- See Also:
- Constant Field Values
DESCRIPTOR_ORDER_POSTFIX
public static final String DESCRIPTOR_ORDER_POSTFIX
- See Also:
- Constant Field Values
Descriptor
public Descriptor(List<Properties> descriptors)
throws SAXException,
IOException
- Throws:
SAXException
IOException
Descriptor
public Descriptor(String descriptorPath)
throws SAXException,
IOException
- Throws:
SAXException
IOException
Descriptor
public Descriptor(String descriptorPath,
EntityResolver schemaResolver,
EntityResolver bindingResolver,
ClassLoader classloader)
throws SAXException,
IOException
- Throws:
SAXException
IOException
Descriptor
public Descriptor(List<Properties> descriptors,
EntityResolver schemaResolver,
EntityResolver bindingResolver,
ClassLoader classloader)
throws SAXException,
IOException
- Throws:
SAXException
IOException
getSmooks
public org.milyn.Smooks getSmooks()
getSchema
public Schema getSchema()
getBeanWriters
public Map<Class<?>,Map<String,BeanWriter>> getBeanWriters()
loadDescriptors
public static List<Properties> loadDescriptors(String descriptorPath,
ClassLoader classLoader)
loadDescriptor
public static Properties loadDescriptor(InputStream descriptorStream)
throws IOException
- Throws:
IOException
getNamespaceId
public static String getNamespaceId(String namespaceURI,
List<Properties> descriptors)
getSchemaLocation
public static String getSchemaLocation(String namespaceId,
List<Properties> descriptors)
getBindingConfigLocation
public static String getBindingConfigLocation(String namespaceId,
List<Properties> descriptors)
Copyright © 2018. All rights reserved.